@Test
@Transactional
public void testListAssignmentFunction() {
int previous = assignmentFunctionDAO.list(AssignmentFunction.class).size();
AssignmentFunction assignmentFunction1 = createValidAssignmentFunction();
assignmentFunctionDAO.save(assignmentFunction1);
AssignmentFunction assignmentFunction2 = createValidAssignmentFunction();
assignmentFunctionDAO.save(assignmentFunction1);
assignmentFunctionDAO.save(assignmentFunction2);
List<AssignmentFunction> list = assignmentFunctionDAO
.list(AssignmentFunction.class);