Пример #1
0
  @Test
  public void testDeleteRecord() throws Exception {
    Set<DomainRecord> domainRecords = domainApi.listRecords(testDomain);

    int before = domainRecords.size();

    domainApi.deleteRecord(domainRecords.iterator().next().getId());

    assertTrue(recordCounter.apply(before - 1));
  }