| @@ 50-61 (lines=12) @@ | ||
| 47 | $this->collectorCollection->decrement($metricName); |
|
| 48 | } |
|
| 49 | ||
| 50 | public function testTiming() |
|
| 51 | { |
|
| 52 | $metricName = 'foo'; |
|
| 53 | $metricValue = 'bar'; |
|
| 54 | ||
| 55 | $this->collector |
|
| 56 | ->expects($this->once()) |
|
| 57 | ->method('timing') |
|
| 58 | ->with($metricName, $metricValue); |
|
| 59 | ||
| 60 | $this->collectorCollection->timing($metricName, $metricValue); |
|
| 61 | } |
|
| 62 | ||
| 63 | public function testMeasure() |
|
| 64 | { |
|
| @@ 63-74 (lines=12) @@ | ||
| 60 | $this->collectorCollection->timing($metricName, $metricValue); |
|
| 61 | } |
|
| 62 | ||
| 63 | public function testMeasure() |
|
| 64 | { |
|
| 65 | $metricName = 'foo'; |
|
| 66 | $metricValue = 'bar'; |
|
| 67 | ||
| 68 | $this->collector |
|
| 69 | ->expects($this->once()) |
|
| 70 | ->method('measure') |
|
| 71 | ->with($metricName, $metricValue); |
|
| 72 | ||
| 73 | $this->collectorCollection->measure($metricName, $metricValue); |
|
| 74 | } |
|
| 75 | ||
| 76 | public function testFlush() |
|
| 77 | { |
|