Esempio n. 1
0
 public function testCanGetImageDataBasedOnAnImageIdentifier()
 {
     $blob = file_get_contents(__DIR__ . '/_files/image.png');
     $this->setMockResponse($this->client, array(new Response(200, array(), $blob)));
     $this->assertSame($blob, $this->client->getImageData('id'));
 }