Eccube\Tests\Repository\ProductRepositoryGetQueryBuilderBySearchDataAdminTest::testId PHP Method

testId() public method

public testId ( )
    public function testId()
    {
        $Product = $this->app['eccube.repository.product']->findOneBy(array('name' => '商品-2'));
        $id = $Product->getId();
        $this->searchData = array('id' => $id);
        $this->scenario();
        $this->expected = 1;
        $this->actual = count($this->Results);
        $this->verify();
    }