/** * Bug 51435; return false instead of an Exception */ public function testNoValidNamespaceException() { $instance = new NamespaceExaminer(array(NS_MAIN => true)); $this->assertFalse($instance->isSemanticEnabled(99991001)); }