public function testDelete()
{
$snippet = $this->snippetFromMethod(Sink::class, 'delete');
$snippet->addLocal('sink', $this->sink);
$this->connection->deleteSink(Argument::any())->shouldBeCalled();
$this->sink->setConnection($this->connection->reveal());
$snippet->invoke();
}