Пример #1
0
 function testCallUndefinedMethod()
 {
     $obj = new TBase();
     try {
         $obj->noMethod();
     } catch (Exception $e) {
         $this->assertEquals("TException", get_class($e));
     }
 }