=begin #Schemas #The CRM uses schemas to define how custom objects should store and represent information in the HubSpot CRM. Schemas define details about an object's type, properties, and associations. The schema can be uniquely identified by its **object type ID**. The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' require 'date' # Unit tests for Hubspot::Crm::Schemas::AssociationDefinition # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AssociationDefinition' do before do # run before each test @instance = Hubspot::Crm::Schemas::AssociationDefinition.new end after do # run after each test end describe 'test an instance of AssociationDefinition' do it 'should create an instance of AssociationDefinition' do expect(@instance).to be_instance_of(Hubspot::Crm::Schemas::AssociationDefinition) end end describe 'test attribute "from_object_type_id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "to_object_type_id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "cardinality"' 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', ["ONE_TO_ONE", "ONE_TO_MANY"]) # validator.allowable_values.each do |value| # expect { @instance.cardinality = value }.not_to raise_error # end end end describe 'test attribute "inverse_cardinality"' 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', ["ONE_TO_ONE", "ONE_TO_MANY"]) # validator.allowable_values.each do |value| # expect { @instance.inverse_cardinality = value }.not_to raise_error # end end end describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "updated_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end