/**
* @covers PHPExiftool\Writer::setMode
* @covers PHPExiftool\Writer::isMode
*/
public function testSetMode()
{
$this->object->setMode(Writer::MODE_EXIF2IPTC, true);
$this->assertTrue($this->object->isMode(Writer::MODE_EXIF2IPTC));
$this->object->setMode(Writer::MODE_XMP2EXIF, true);
$this->assertTrue($this->object->isMode(Writer::MODE_XMP2EXIF));
$this->object->setMode(Writer::MODE_EXIF2IPTC, false);
$this->assertFalse($this->object->isMode(Writer::MODE_EXIF2IPTC));
$this->object->setMode(Writer::MODE_XMP2EXIF, true);
$this->assertTrue($this->object->isMode(Writer::MODE_XMP2EXIF));
}