Extension\ExceptionsTest::testExceptionRethrow PHP Method

testExceptionRethrow() public method

    public function testExceptionRethrow()
    {
        $t = new Exceptions();
        try {
            $t->testExceptionRethrow();
            $this->assertFalse();
        } catch (\Exception $e) {
            $this->assertSame(8, $e->getLine());
        }
    }