use IntegrationTestBehaviour;
/**
* @before
*
* @after
*/
public function resetHistory(): void
{ /** @var GuzzleHistoryCollector $historyCollector */
$historyCollector =
$this->
getContainer()->
get(GuzzleHistoryCollector::
class);
$historyCollector->
resetHistory();
/** @var MockHandler $mockHandler */
$mockHandler =
$this->
getContainer()->
get(MockHandler::
class);
$mockHandler->
reset();
/** @var TestAppServer $testServer */
$testServer =
$this->
getContainer()->
get(TestAppServer::
class);
$testServer->
reset();
} public function getLastRequest(): ?RequestInterface
{ /** @var MockHandler $mockHandler */