public function testMarkResponseFromCache() { $this->counter->expects($this->once())->method('add')->with(MetricsCounter::RESPONSE_FROM_CACHE); $this->metrics->markResponseFromCache(); }