SomeTest::testSelect()
Source
File: vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php
public function testSelect()
{
$some = new Some('foo');
$this->assertSame($some, $some->select('foo'));
$this->assertInstanceOf('PhpOption\None', $some->select('bar'));
$this->assertInstanceOf('PhpOption\None', $some->select(true));
}