InterNations\Component\HttpMock\Tests\PHPUnit\HttpMockPHPUnitIntegrationTest::testFatalError PHP Method

testFatalError() public method

public testFatalError ( )
    public function testFatalError()
    {
        if (version_compare(PHP_VERSION, '7.0', '<')) {
            $this->markTestSkipped('Comment in to test if fatal errors are properly handled');
        }
        $this->setExpectedException('Error', 'Cannot instantiate abstract class');
        new \PHPUnit_Framework_TestCase();
    }