Inheritance: implements Knp\Bundle\KnpBundlesBundle\Finder\FinderInterface
Example #1
0
 /**
  * @test
  */
 public function findShouldReturnsUniqueResults()
 {
     $mockFirstFinder = $this->getFinderInterfaceMock(array('KnpLabs/KnpBundles', 'test/TestBundle'));
     $mockSecondFinder = $this->getFinderInterfaceMock(array('KnpLabs/KnpBundles', 'test2/TestBundle'));
     $finder = new Aggregate(array($mockFirstFinder, $mockSecondFinder));
     $this->assertCount(3, $finder->find());
 }