Esempio n. 1
0
 /**
  * @param $status
  * @param $expected
  *
  * @dataProvider getAvailableDataProvider
  */
 public function testGetAvailableInvitationStatuses($status, $expected)
 {
     $event = new CalendarEvent();
     $event->setInvitationStatus($status);
     $actual = $event->getAvailableInvitationStatuses();
     $this->assertEmpty(array_diff($expected, $actual));
 }