Eccube\Tests\Plugin\Web\ShoppingControllerTest::testComplete PHP Метод

testComplete() публичный Метод

public testComplete ( )
    public function testComplete()
    {
        $this->app['session']->set('eccube.front.shopping.order.id', 111);
        $client = $this->createClient();
        $crawler = $client->request('GET', $this->app->path('shopping_complete'));
        $this->assertTrue($client->getResponse()->isSuccessful());
        $this->assertNull($this->app['session']->get('eccube.front.shopping.order.id'));
        $hookpoins = array(EccubeEvents::FRONT_SHOPPING_COMPLETE_INITIALIZE);
        $this->verifyOutputString($hookpoins);
    }