public function testGetsMetricsWithNoResults()
{
$this->connection->listMetrics(Argument::any())->willReturn([])->shouldBeCalledTimes(1);
$this->client->setConnection($this->connection->reveal());
$metrics = iterator_to_array($this->client->metrics());
$this->assertEmpty($metrics);
}