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

testName() public method

public testName ( )
    public function testName()
    {
        $Products = $this->app['eccube.repository.product']->findAll();
        $Products[0]->setName('りんご');
        $Products[1]->setName('アイス');
        $Products[1]->setSearchWord('抹茶');
        $Products[2]->setName('お鍋');
        $Products[2]->setSearchWord('立方体');
        $this->app['orm.em']->flush();
        $this->searchData = array('id' => 'お');
        $this->scenario();
        $this->expected = 1;
        $this->actual = count($this->Results);
        $this->verify();
    }