/** * @covers \fpoirotte\XRL\Client */ public function testClient2() { $data = 'data://;base64,' . base64_encode(file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'testdata' . DIRECTORY_SEPARATOR . 'responses' . DIRECTORY_SEPARATOR . 'success.xml')); $client = new \fpoirotte\XRL\Client($data); $this->assertSame(array(42, 'test'), $client->foo()); }