We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fb70d9 + d97bf07 commit 344b487Copy full SHA for 344b487
clients/mock-client.rst
@@ -63,7 +63,6 @@ certain responses::
63
64
$response = $this->getMock('Psr\Http\Message\ResponseInterface');
65
$client->addResponse($response);
66
- $this->assertSame($response, $client->getLastResponse());
67
68
// $request is an instance of Psr\Http\Message\RequestInterface
69
$returnedResponse = $client->sendRequest($request);
@@ -108,7 +107,6 @@ To fake an exception being thrown::
108
107
109
$exception = new \Exception('Whoops!');
110
$client->addException($exception);
111
- $this->assertSame($exception, $client->getLastException());
112
113
114
0 commit comments