/** * @group exif * @covers \PHPExif\Exif::getCaption */ public function testGetCaption() { $expected = 'Foo Bar Baz'; $data[\PHPExif\Exif::CAPTION] = $expected; $this->exif->setData($data); $this->assertEquals($expected, $this->exif->getCaption()); }