NoneTest::testGetOrCall()
Source
File: vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php
public function testGetOrCall()
{
$none = \PhpOption\None::create();
$this->assertEquals('foo', $none->getOrCall(function() { return 'foo'; }));
}