# File test/test_properties.rb, line 76 def test_map_modified_check foo_map = @properties.map('foo') bar_map = @properties.map('bar') @properties.set_map('foo', foo_map) assert_exception(RuntimeError) { @properties.set_map('bar', bar_map) } bar_map.modified_count = foo_map.modified_count @properties.set_map('bar', bar_map) end