示例#1
0
 function testCallingMagicGetterForNonExistingPropertyThrowsException()
 {
     $object = new lmbObject();
     try {
         $object->getNoSuchProperty();
         $this->assertTrue(false);
     } catch (lmbNoSuchMethodException $e) {
     }
 }