/**
  * @test
  * @depends testObjectCreated
  * @depends testMagicSetters
  * @covers ::__call
  */
 public function testCreatesProgressFile()
 {
     // Arrange
     $options = array('lineBreak' => "\n", 'filename' => __DIR__ . DIRECTORY_SEPARATOR . 'testFilenameSetting1.txt', 'totalStages' => 1, 'autocalc' => True);
     $pu = new \Manticorp\ProgressUpdater($options);
     $pu->nextStage();
     $status = json_encode($pu->getStatusArray());
     $this->assertFileExists($options['filename']);
     $this->assertJsonStringEqualsJsonFile($options['filename'], $status);
     unlink($options['filename']);
 }