public function testNonmemberWithCartUnlock() { $client = $this->createClient(); $crawler = $client->request('GET', $this->app->path('shopping_nonmember')); $this->assertTrue($client->getResponse()->isRedirect($this->app->url('cart'))); }