/**
  */
 public function testAll()
 {
     $limit = 4;
     $offset = 0;
     $orderBy = null;
     /** @var EntityInterface|ObjectProphecy $entity */
     $entity = $this->prophesize('AppBundle\\Entity\\EntityInterface');
     $entityList = array($entity->reveal());
     $this->fertilizerObjectManager->all($limit, $offset, $orderBy)->willReturn($entityList)->shouldBeCalledTimes(1);
     $this->assertSame($entityList, $this->handler->all($limit, $offset, $orderBy));
 }
 /**
  */
 public function testAll()
 {
     $limit = 10;
     $offset = 0;
     $orderBy = null;
     /** @var EntityInterface|ObjectProphecy $entity1 */
     $entity1 = $this->prophesize('AppBundle\\Entity\\EntityInterface');
     /** @var EntityInterface|ObjectProphecy $entity2 */
     $entity2 = $this->prophesize('AppBundle\\Entity\\EntityInterface');
     $entityList = array($entity1->reveal(), $entity2->reveal());
     $this->repository->all($limit, $offset, $orderBy)->willReturn($entityList)->shouldBeCalledTimes(1);
     $this->assertSame($entityList, $this->manager->all($limit, $offset, $orderBy));
 }