*/ class RouteTest extends TestCase { public function testCreate() { $api = $this->getApiMock(); $api->expects($this->once()) ->method('httpPost') ->willReturn(new Response()); $api->create('catch_all()', ['forward("mailbox@myapp.com")'], 'example', 100); } /** * {@inheritdoc} */ protected function getApiClass() { return 'Mailgun\Api\Route'; } }