public function testGetEndPointException() { $client = new Client(); $this->setExpectedException('\\JsonApi\\Exception', 'endPoint not setted'); $client->getTransport(); }