@Test
public void testGetEntity() {

    TopLevelDomain dom1 = createTopLevelDomainObject("GetEntityDom1",
            "Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    Entity entity1 = createEntityObject("Entity1");
    zms.putEntity(mockDomRsrcCtx, "GetEntityDom1", "Entity1", auditRef, entity1);
    Entity entity2 = zms.getEntity(mockDomRsrcCtx, "GetEntityDom1", "Entity1");
    assertNotNull(entity2);
    assertEquals(entity2.getName(), "Entity1".toLowerCase());
    zms.deleteTopLevelDomain(mockDomRsrcCtx, "GetEntityDom1", auditRef);
}