public function testSetInvalidTypeInferencer() { $dtd = new slDtdSchema(); try { $dtd->setTypeInferencer(new slFullPathTypeInferencer()); $this->fail('Expected exception.'); } catch (Exception $e) { /* Expected */ } }