Functional\Tests\ErrorToExceptionTest::testFunctionIsWrapped PHP Method

testFunctionIsWrapped() public method

    public function testFunctionIsWrapped()
    {
        $fn = error_to_exception('substr');
        $this->assertSame('f', $fn('foo', 0, 1));
    }