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