/** * @expectedException Exception */ public function testPersistFailureOnEmptyEndpoint() { $client = new FeedlyModel('SOMETOKEN'); $client->persist(); }