public function testEntryWithOptions()
{
$snippet = $this->snippetFromMethod(Logger::class, 'entry', 2);
$snippet->addLocal('logger', $this->logger);
$snippet->addUse(Logger::class);
$res = $snippet->invoke('entry');
$this->assertInstanceOf(Entry::class, $res->returnVal());
}