Router::GET]); $response = $lists->run(); $body = (string)$response->getBody(); self::assertJson($body); $json = json_decode($body); self::assertIsArray($json->ids); } /** * Test the api_friendships_incoming() function an undefined cursor GET variable. * * @return void */ public function testApiFriendshipsIncomingWithUndefinedCursor() { self::markTestIncomplete('Needs refactoring of Incoming - replace filter_input() with $request parameter checks'); // $_GET['cursor'] = 'undefined'; // self::assertFalse(api_friendships_incoming('json')); } }