test_process_request (CallbackStoreTest)

    # File lib/Borges/TestCase/CallbackStoreTest.rb, line 128
      def test_process_request
        x = nil
        y = nil
        @store.register_action_callback do "action" end
        @store.register_callback do x = "value one" end
        @store.register_callback do |v| y = v end
        req = Object.new
        class << req
          def fields; {"0" => "", "1" => "", "2" => "value two"}; end
        end

        z = @store.process_request(req)
        assert_equal "value one", x, "Value set from callback"
        assert_equal "value two", y, "Value set from request string"
        assert_equal "action", z, "Value retrieved from action"
      end