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

    Assignment assignment = createTestAssignment();
    ldapService.updateAssignments(Lists.newArrayList(assignment));
    assertThat(ldapDao.exists(DnFactory.assignment(assignment)), is(true));
    assertCorrectlyStored(assignment);
}