public function testSetGotoUrlWithBaseUrlUsingPrependBaseProperty() { $this->request->setBaseUrl('/my'); $this->redirector->setPrependBase(true); $this->redirector->setGotoUrl('/foo/bar'); $this->assertEquals('/my/foo/bar', $this->redirector->getRedirectUrl()); }