@Test
public void testValidResourceToDelete() {

    assertFalse(zms.dbService.validResourceGroupObjectToDelete("role.name", "roles."));
    assertFalse(zms.dbService.validResourceGroupObjectToDelete("role.name", "role.name."));
    assertFalse(zms.dbService.validResourceGroupObjectToDelete("role.name.test.name", "role.name."));
    assertTrue(zms.dbService.validResourceGroupObjectToDelete("role.name.test", "role.name."));
}