test_consecutive_snapshots (StateRegistryTest)

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

        @registry.register(a)

        snap1 = @registry.snapshot
        snap2 = @registry.snapshot

        assert(snapshot_identical_to(snap1, snap2))

        a.contents = 2

        snap3 = @registry.snapshot

        assert(!snapshot_identical_to(snap3, snap2))
      end