/** * @group unit */ public function testArrayErrorMessage() { $response = new Response(json_encode(array('error' => array('a', 'b')))); $this->assertEquals(array('a', 'b'), $response->getFullError()); }