assertThat(ldapDao.exists(dn), is(false));
}
@Test
public void testDeleteRoles_shouldDelete() {
Role role = createTestRole();
List<Role> list = Lists.newArrayList(role);
ldapService.updateRoles(list);
Dn dn = DnFactory.role(role);
assertThat(ldapDao.exists(dn), is(true));
ldapService.deleteRoles(list);