Skip to content

Commit

Permalink
Update symfony-bundle.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Aug 16, 2022
1 parent 4374e3d commit 2ba5599
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/symfony-bundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@ To mock a response in your tests, do:
$response->method('getBody')->willReturn(/* Psr\Http\Message\Interface instance containing expected response content. */);
$client->getContainer()->get('httplug.client.mock')->addResponse($response);
Read more on how the mock client works in the :doc:`mock client documentation </clients/mock-client>`.

.. |clearfloat| raw:: html

<div style="clear:left"></div>
Expand Down

0 comments on commit 2ba5599

Please sign in to comment.