=begin #Payment Gateway API Specification. #Payment Gateway API for payment processing. Version 6.4.0.20181018.001 OpenAPI spec version: 6.4.0.20181018.001 Generated by: https://openapi-generator.tech OpenAPI Generator version: unset =end require 'spec_helper' require 'json' require 'date' # Unit tests for OpenapiClient::PaymentMethod # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PaymentMethod' do before do # run before each test @instance = OpenapiClient::PaymentMethod.new end after do # run after each test end describe 'test an instance of PaymentMethod' do it 'should create an instance of PaymentMethod' do expect(@instance).to be_instance_of(OpenapiClient::PaymentMethod) end end describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ALIPAY", "ALIPAY_PAYSECURE_US", "ALIPAY_DOMESTIC", "APM", "CUP_DOMESTIC", "DEBITDE", "EMI", "GIROPAY", "IDEAL", "INDIAWALLET", "KLARNA", "NETBANKING", "PAYMENT_CARD", "PAYMENT_TOKEN", "PAYPAL", "SEPA", "SOFORT", "WALLET", "WECHAT_DOMESTIC"]) # validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error # end end end describe 'test attribute "payment_card"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "payment_token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "sepa"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "pay_pal"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "ali_pay"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "china_domestic"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end