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

testCategoryWithOut() public method

public testCategoryWithOut ( )
    public function testCategoryWithOut()
    {
        $Category = new Category();
        $Category->setName('test')->setRank(1)->setLevel(1)->setDelFlg(Constant::DISABLED)->setCreateDate(new \DateTime())->setUpdateDate(new \DateTime());
        $this->app['orm.em']->persist($Category);
        $this->app['orm.em']->flush();
        $this->searchData = array('category_id' => $Category);
        $this->scenario();
        $this->expected = 0;
        $this->actual = count($this->Results);
        $this->verify();
    }