Knp\Bundle\KnpBundlesBundle\Tests\Finder\AggregateTest::findShouldReturnsUniqueResults PHP Method

findShouldReturnsUniqueResults() public method

    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());
    }