public function testWhenStartedTwiceThroughApiMustReturnSameFile() { $manager = new TraceManager(); $file1 = $manager->start(); $file2 = $manager->start(); $this->assertEquals($file1, $file2); $manager->stop(); }
/** * {@inheritdoc} */ public function stop() { parent::stop(); $this->traceManager->stop(); }