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