@Test
public void testGetDomainList() {

    TopLevelDomain dom1 = createTopLevelDomainObject("ListDom1",
            "Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    TopLevelDomain dom2 = createTopLevelDomainObject("ListDom2",
            "Test Domain2", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom2);
    DomainList domList = zms.getDomainList(mockDomRsrcCtx, null, null, null, null,
            null, null, null, null, null);
    assertNotNull(domList);
    assertTrue(domList.getNames().contains("ListDom1".toLowerCase()));
    assertTrue(domList.getNames().contains("ListDom2".toLowerCase()));
    zms.deleteTopLevelDomain(mockDomRsrcCtx, "ListDom1", auditRef);
    zms.deleteTopLevelDomain(mockDomRsrcCtx, "ListDom2", auditRef);
}