public testMissingProperty ( ) |
public function testMissingProperty()
{
try {
$location = new Location();
$value = $location->notDefined;
self::fail('Succeeded getting non existing property');
} catch (PropertyNotFound $e) {
}
}