# File lib/Borges/TestCase/StateRegistryTest.rb, line 44 def test_garbage_collection a = ValueHolder.new(1) @registry.register(a) snap1 = @registry.snapshot GC.start assert_equal(1, @registry.size) a = nil GC.start assert_equal(0, @registry.size) end