# File test/test_rep.rb, line 84
    def test_block
      @rep.set_block(:Block) {|arg1, arg2|
        hook(arg1, arg2)
        @value
      }
      assert_equal(@value, @rep.fetch(:Block, 'foo', :bar))
      assert_equal(1, @hook_call)
      assert_equal('foo', @hook_arg1)
      assert_equal(:bar, @hook_arg2)
    end