Eccube\Tests\Repository\ProductRepositoryGetQueryBuilderBySearchDataTest::testCategory PHP Method

testCategory() public method

public testCategory ( )
    public function testCategory()
    {
        $Categories = $this->app['eccube.repository.category']->findAll();
        $this->searchData = array('category_id' => $Categories[0]);
        $this->scenario();
        $this->expected = 3;
        $this->actual = count($this->Results);
        $this->verify();
    }