.allocateHours(10);
List<SpecificDayAssignment> currentAssignments = specificResourceAllocation
.getAssignments();
IOnDayAssignmentRemoval dayAssignmentRemovalMock = createMock(IOnDayAssignmentRemoval.class);
for (SpecificDayAssignment each : currentAssignments) {
dayAssignmentRemovalMock
.onRemoval(specificResourceAllocation, each);
expectLastCall().once();
}
specificResourceAllocation
.setOnDayAssignmentRemoval(dayAssignmentRemovalMock);