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

    User user = createTestUser();
    ldapService.updateUsers(Lists.newArrayList(user));
    assertThat(ldapDao.exists(DnFactory.user(user)), is(true));
    assertCredentialsCorrectlyStored(user);
    assertAttributesCorrectlyStored(user);
}