@Test
public void testOnlyGivesZeroHoursWhenThereIsNoParent() {
BaseCalendar calendar = createBasicCalendar();
assertFalse(calendar.onlyGivesZeroHours());
initializeAllToZeroHours(calendar);
assertTrue(calendar.onlyGivesZeroHours());
}
private void initializeAllToZeroHours(BaseCalendar calendar) {
for (Days each : Days.values()) {
calendar.setCapacityAt(each, Capacity.zero());