Exemple #1
0
 public function testFrequency_set_get()
 {
     $meeting = new Meeting();
     $frequency = Meeting::WEEKLY;
     $meeting->setFrequency($frequency);
     $this->assertEquals($frequency, $meeting->getFrequency());
 }
Exemple #2
0
 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);
 }