Eccube\Tests\Repository\OrderRepositoryGetQueryBuilderBySearchDataTest::testStatus PHP Method

testStatus() public method

public testStatus ( )
    public function testStatus()
    {
        $NewStatus = $this->app['eccube.repository.order_status']->find($this->app['config']['order_new']);
        $this->Order1->setOrderStatus($NewStatus);
        $this->Order2->setOrderStatus($NewStatus);
        $this->app['orm.em']->flush();
        $this->searchData = array('status' => $this->app['config']['order_new']);
        $this->scenario();
        $this->expected = 2;
        $this->actual = count($this->Results);
        $this->verify();
    }