/** * @covers PhraseanetSDK\Response::getResult */ public function testGetResult() { $response = new Response(json_decode($this->getSampleResponse(200))); $this->assertTrue(is_object($response->getResult())); $this->assertEquals(3, count(get_object_vars($response->getResult()->databoxes))); }