} else {
return zero();
}
}
}).anyTimes();
expect(result.thereAreCapacityFor(isA(AvailabilityTimeLine.class),
isA(ResourcesPerDay.class), isA(EffortDuration.class)))
.andAnswer(new IAnswer<Boolean>() {
@Override
public Boolean answer() throws Throwable {