properties; } catch ( ezcBasePropertyNotFoundException $e ) { return; } $this->fail( "ezcBasePropertyNotFoundException not thrown on access to forbidden property \$properties" ); } public function testGetOffsetAccessFailure() { $opt = new ezcBaseTestOptions(); try { echo $opt["properties"]; } catch ( ezcBasePropertyNotFoundException $e ) { return; } $this->fail( "ezcBasePropertyNotFoundException not thrown on access to forbidden property \$properties" ); } public function testSetOffsetAccessFailure() { $opt = new ezcBaseTestOptions(); try { $opt["properties"] = "foo"; } catch ( ezcBasePropertyNotFoundException $e ) { return; } $this->fail( "ezcBasePropertyNotFoundException not thrown on access to forbidden property \$properties" ); } } ?>