/**
  * @covers ::cloneBlock
  * @covers ::deleteBlock
  * @covers ::saveAs
  * @test
  */
 public function testCloneDeleteBlock()
 {
     $templateProcessor = new TemplateProcessor(__DIR__ . '/_files/templates/clone-delete-block.docx');
     $this->assertEquals(array('DELETEME', '/DELETEME', 'CLONEME', '/CLONEME'), $templateProcessor->getVariables());
     $docName = 'clone-delete-block-result.docx';
     $templateProcessor->cloneBlock('CLONEME', 3);
     $templateProcessor->deleteBlock('DELETEME');
     $templateProcessor->saveAs($docName);
     $docFound = file_exists($docName);
     unlink($docName);
     $this->assertTrue($docFound);
 }