monitorFile() публичный Метод

The file in question does not necessarily have to exist.
public monitorFile ( string $pathAndFilename ) : void
$pathAndFilename string Absolute path and filename of the file to monitor
Результат void
 /**
  * @test
  */
 public function aFileAppearsOnlyOnceInTheListOfMonitoredFiles()
 {
     $monitor = new FileMonitor('Flow_Test');
     $monitor->monitorFile(__FILE__);
     $monitor->monitorFile(__FILE__);
     $this->assertSame([$this->unixStylePathAndFilename], $monitor->getMonitoredFiles());
 }