test_no_change_after_restore (StateRegistryTest)

    # File lib/Borges/TestCase/StateRegistryTest.rb, line 68
      def test_no_change_after_restore
        a = ValueHolder.new(1)

        @registry.register(a)

        snap1 = @registry.snapshot

        a.contents = 2

        snap2 = @registry.snapshot

        assert(!snapshot_identical_to(snap1, snap2))

        @registry.restore_snapshot(snap1)

        assert_equal(1, a.contents)

        snap3 = @registry.snapshot

        assert(snapshot_identical_to(snap1, snap3))
      end