public function testGetsMetric() { $this->client->setConnection($this->connection->reveal()); $this->assertInstanceOf(Metric::class, $this->client->metric($this->metricName)); }