Sha256: 86beaaee9219dbcc815ddbf8428a8a7af072fdb1fca2cdb7636a5dc2e431f3fc
Contents?: true
Size: 988 Bytes
Versions: 7
Compression:
Stored size: 988 Bytes
Contents
# frozen_string_literal: true require 'helper' require 'mws/sellers/client' class TestMWSSellersClient < MiniTest::Test def setup @client = MWS::Sellers::Client.new end def test_lists_marketplace_participations operation = { 'Action' => 'ListMarketplaceParticipations' } @client.stub(:run, nil) do @client.list_marketplace_participations end assert_equal operation, @client.operation end def test_lists_marketplace_participations_by_next_token operation = { 'Action' => 'ListMarketplaceParticipationsByNextToken', 'NextToken' => '1' } @client.stub(:run, nil) do @client.list_marketplace_participations_by_next_token('1') end assert_equal operation, @client.operation end def test_gets_service_status operation = { 'Action' => 'GetServiceStatus' } @client.stub(:run, nil) do @client.get_service_status end assert_equal operation, @client.operation end end
Version data entries
7 entries across 7 versions & 1 rubygems