public function testMatchRegex()
{
$this->http->mock->when()->methodIs($this->http->matches->regex('/(GET|POST)/'))->then()->body('response')->end();
$this->http->setUp();
$this->assertSame('response', (string) $this->http->client->get('/')->send()->getBody());
$this->assertSame('response', (string) $this->http->client->get('/')->send()->getBody());
}