require 'request_helper' require 'mws/reports/requests/report_request_info' class ReportRequestInfoTest < RequestTest def mock_response_body <<-EOF 2291326454 _GET_MERCHANT_LISTINGS_DATA_ 2009-01-21T02:10:39+00:00 2009-02-13T02:10:39+00:00 false 2009-02-20T02:10:39+00:00 _SUBMITTED_ EOF end def setup @report = MWS::Reports::Requests::ReportRequestInfo.new(mock_client) end def test_requests_report res = @report.request('_GET_FLAT_FILE_OPEN_LISTINGS_DATA_') assert_kind_of MWS::Reports::Parsers::ReportRequestInfo, res end end