NoneTest::testFoldLeftRight()


Source

File: vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php

    public function testFoldLeftRight()
    {
        $this->assertSame(1, $this->none->foldLeft(1, function() { $this->fail(); }));
        $this->assertSame(1, $this->none->foldRight(1, function() { $this->fail(); }));
    }