Search in sources :

Example 1 with BranchDeleteOp

use of org.locationtech.geogig.api.porcelain.BranchDeleteOp in project GeoGig by boundlessgeo.

the class BranchDeleteOpTest method NoBranchNameTest.

@Test
public void NoBranchNameTest() {
    BranchDeleteOp testOp = new BranchDeleteOp();
    testOp.setName(null);
    exception.expect(IllegalStateException.class);
    testOp.call();
}
Also used : BranchDeleteOp(org.locationtech.geogig.api.porcelain.BranchDeleteOp) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 BranchDeleteOp (org.locationtech.geogig.api.porcelain.BranchDeleteOp)1