public function testShouldSetErrorReporting() { $dispatcher = new Net_URL_Dispatcher(); $dispatcher->setErrorReporting(E_ALL | E_NOTICE); $this->assertSame(error_reporting(), E_ALL | E_NOTICE); }