getClientRoutes(); $interface = new ApiInterface(); $request = new Request( HttpMethods::make(\strtolower($routes['apiV2.ping']['methods'][0])), $routes['apiV2.ping']['uri'] ); $response = $interface->call($request); $this->assertEquals(ApiStatus::OK(), $response->status); } public function testClientPing() { $api = new CrmApiV2(); $this->assertTrue($api->ping()); } }