public function testCallbackOnResponse()
{
$this->http->mock->when()->methodIs('POST')->then()->callback(static function (Response $response) {
$response->setContent('CALLBACK');
})->end();
$this->http->setUp();
$this->assertSame('CALLBACK', $this->http->client->post('/')->send()->getBody(true));
}