public function testCanNotGetUndefinedProperty()
{
$collection = new TAttributeCollection(array(), true);
self::assertEquals(false, $collection->canGetProperty('Property'));
try {
$value = $collection->Property;
} catch (TInvalidOperationException $e) {
return;
}
self::fail('An expected TInvalidOperationException was not raised');
}