public function testDuration_set_get() { $meeting = new Meeting(); $duration = 3; $meeting->setDuration($duration); $this->assertEquals($duration, $meeting->getDuration()); }
public function testFindPlaceFor() { $this->hoursync->addCalendarURI(self::VALID_CALENDAR_URI); $this->hoursync->loadCalendars(); $meeting = new Meeting(); $meeting->setFrequency(Meeting::WEEKLY); $meeting->setDuration(2); $place = $this->hoursync->findPlaceFor($meeting); $this->assertNotEquals($place, false); }