예제 #1
0
 public function groupOfId($id)
 {
     $group = $this->groupRepo->groupOfId($id);
     return $group;
 }
 /**
  * @test
  * @group grouprepo
  */
 public function should_return_null_when_group_of_id_not_found()
 {
     $id = 9999999999;
     $group = $this->groupRepo->groupOfId($id);
     $this->assertNull($group);
 }
예제 #3
0
 public function eventsOfGroup($groupId)
 {
     $group = $this->groupRepo->groupOfId($groupId);
     return $this->calendarRepo->eventsOfGroup($group);
 }