test_setter_callback (HtmlRendererTest)

    # File lib/Borges/TestCase/HtmlRendererTest.rb, line 109
      def test_setter_callback
        obj = Object.new
        obj.instance_eval "def foo=(val) @val = val end"

        rendering_context = Borges::RenderingContext.new(HtmlDocument.new,
                                                         @url,
                                                         CallbackStore.new)
        r = ::Borges::HtmlRenderer.new(rendering_context)

        r.setter_callback(:foo, obj).call "value"

        assert_equal "value", obj.instance_variable_get("@val")
      end