    # File lib/merb-core/test/helpers/mock_request_helper.rb, line 179
          def dispatch_with_basic_authentication_to(controller_klass, action, username, password, params = {}, env = {}, &blk)
            env["X_HTTP_AUTHORIZATION"] = "Basic #{Base64.encode64("#{username}:#{password}")}"

            params = merge_controller_and_action(controller_klass, action, params)
            dispatch_request(build_request(params, env), controller_klass, action.to_s, &blk)
          end