public function testGetMetricOrDefault() { $this->collection->setResult($this->timeResult); $this->assertEquals(100, $this->collection->getMetricOrDefault('UnknownClass', 'barbar', 100)); }