public function testRegisterCollectors() { $this->profiler->registerCollectors([new PhpVersion(Process::build(), new NullDataSource()), new Context(Process::build(), new NullDataSource())]); $this->profiler->initiate(); $this->profiler->terminate(); }