- Domain d2 = new Domain(us, "delexample.org");
- d2.insert();
- }
-
- @Test
- public void testDoubleInsertDomain() throws InterruptedException, GigiApiException {
- Domain d = new Domain(us, "dins-example.org");
- d.insert();
- try {
- d.insert();
- fail("expected exception");
- } catch (GigiApiException e) {
- // expected
- }