/** * @expectedException \RuntimeException */ public function testAddCollectorError() { $this->profiler->registerCollectorClass(UnValidCollector::class); }
/** * @expectedException \RuntimeException */ public function testAddCollectorError() { $this->profiler->registerCollectorClass(UnValidCollector::class); }