/**
* @covers PHPExiftool\Reader::append
* @covers PHPExiftool\Reader::all
*/
public function testAppend()
{
$file1 = self::$tmpDir . '/test.jpg';
$file2 = self::$tmpDir . '/test2.jpg';
$file3 = self::$tmpDir . '/dir/CanonRaw.cr2';
$this->assertEquals(1, count($this->object->files($file1)->all()));
$reader = $this->getReader();
$reader->files(array($file2, $file3));
$this->assertEquals(3, count($this->object->append($reader)->all()));
}