public function testCreateSink()
{
$snippet = $this->snippetFromMethod(LoggingClient::class, 'createSink');
$snippet->addLocal('logging', $this->client);
$this->connection->createSink(Argument::any())->shouldBeCalled()->willReturn([]);
$res = $snippet->invoke('sink');
$this->assertInstanceOf(Sink::class, $res->returnVal());
}