public function testCanFetchImageProperties() { $this->setMockResponse($this->client, 'image_properties'); $response = $this->client->getImageProperties('identifier'); $this->assertSame(200, $response['width']); $this->assertSame(300, $response['height']); $this->assertSame(400, $response['filesize']); $this->assertSame('png', $response['extension']); $this->assertSame('image/png', $response['mimetype']); }