/** * @group exif * @covers \PHPExif\Exif::getAuthor */ public function testGetAuthor() { $expected = 'John Smith'; $data[\PHPExif\Exif::AUTHOR] = $expected; $this->exif->setData($data); $this->assertEquals($expected, $this->exif->getAuthor()); }
/** * @group exif * @covers \PHPExif\Exif::getAuthor */ public function testGetAuthor() { $expected = 'John Smith'; $data[\PHPExif\Exif::AUTHOR] = $expected; $this->exif->setData($data); $this->assertEquals($expected, $this->exif->getAuthor()); }