@Test
public void testUpdateRoles_shouldCreateRole() throws LdapInvalidAttributeValueException,
    NoSuchNodeException, MissingParentException {

    Role role = createTestRole();
    ldapService.updateRoles(Lists.newArrayList(role));
    assertThat(ldapDao.exists(DnFactory.role(role)), is(true));
    assertCorrectlyStored(role);
}