Пример #1
0
 public function testSetInvalidTypeInferencer()
 {
     $dtd = new slDtdSchema();
     try {
         $dtd->setTypeInferencer(new slFullPathTypeInferencer());
         $this->fail('Expected exception.');
     } catch (Exception $e) {
         /* Expected */
     }
 }