Exemplo n.º 1
0
 public function testSaveHolidayWithNoId()
 {
     $holiday = new Holiday();
     $holiday->setLength(4);
     $holiday->setDescription("for dummies");
     $savedHoliday = $this->holidayDao->saveHoliday($holiday);
     $this->assertEquals($holiday, $savedHoliday);
 }