Bolt\Tests\Storage\PrefillTest::testUrl PHP Method

testUrl() public method

public testUrl ( )
    public function testUrl()
    {
        $app = $this->getApp();
        $request = new Request('GET', '/');
        $guzzle = $this->getMockGuzzleClient();
        $guzzle->expects($this->once())->method('get')->with('http://loripsum.net/api/1/veryshort')->will($this->returnValue($request));
        $app['guzzle.client'] = $guzzle;
        $app['prefill']->get('/1/veryshort');
    }
PrefillTest