assertEquals($request->content_type, 'application/json'); } /** * @expectedException PromisePay\Exception\ApiUnsupportedRequestMethod */ public function testInvalidRequestMethod() { PromisePay::RestClient('commit', 'items/10'); } }