public function testReload()
{
$snippet = $this->snippetFromMethod(Metric::class, 'reload');
$snippet->addLocal('metric', $this->metric);
$this->connection->getMetric(Argument::any())->shouldBeCalled()->willReturn(['description' => 'Foo']);
$this->metric->setConnection($this->connection->reveal());
$res = $snippet->invoke();
$this->assertEquals('Foo', $res->output());
}