/**
  * @test
  */
 public function findAllIsEntitiesArray()
 {
     $data = $this->mainActivityRepository->findAll();
     $this->assertInstanceOf(MainActivity::class, array_shift($data));
 }
Exemplo n.º 2
0
 /**
  * @return MainActivity[]
  */
 private function getDataFromRepository()
 {
     $repository = new MainActivityRepository();
     return $repository->findAll();
 }