*/ class RouteTest extends TestCase { protected function setUp() { $this->markTestSkipped('Routes API tests not implemented yet.'); } 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'; } }