/** * @group exif * @covers \PHPExif\Exif::getHorizontalResolution */ public function testGetHorizontalResolution() { $expected = 240; $data[\PHPExif\Exif::HORIZONTAL_RESOLUTION] = $expected; $this->exif->setData($data); $this->assertEquals($expected, $this->exif->getHorizontalResolution()); }