EnsureTest::ensure( $value, $noneValue = null )
Source
File: vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php
protected function ensure($value, $noneValue = null)
{
$option = Option::ensure($value, $noneValue);
$this->assertInstanceOf('PhpOption\Option', $option);
return $option;
}