예제 #1
0
 public function testFindUsers()
 {
     $this->repository->expects($this->once())->method('findAll')->will($this->returnValue(array()));
     $this->userManager->findUsers();
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
 {
     return parent::findUsers($criteria, $orderBy, $limit, $offset);
 }