public function testCanSetMultiBackground()
{
$document1 = $this->getDocument1();
$document2 = $this->getDocument2();
$file = $this->getOutFile();
$pdf = new Pdf($document1);
$this->assertInstanceOf('mikehaertl\\pdftk\\Pdf', $pdf->multiBackground($document2));
$this->assertTrue($pdf->saveAs($file));
$this->assertFileExists($file);
$tmpFile = (string) $pdf->getTmpFile();
$this->assertEquals("pdftk A='{$document1}' multibackground '{$document2}' output '{$tmpFile}'", (string) $pdf->getCommand());
}