=begin #Associations #Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations. 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' # Unit tests for Hubspot::Crm::Associations::BatchApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'BatchApi' do before do # run before each test @api_instance = Hubspot::Crm::Associations::BatchApi.new end after do # run after each test end describe 'test an instance of BatchApi' do it 'should create an instance of BatchApi' do expect(@api_instance).to be_instance_of(Hubspot::Crm::Associations::BatchApi) end end # unit tests for archive # Archive a batch of associations # Remove the associations between all pairs of objects identified in the request body. # @param from_object_type # @param to_object_type # @param [Hash] opts the optional parameters # @option opts [BatchInputPublicAssociation] :batch_input_public_association # @return [nil] describe 'archive test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create # Create a batch of associations # Associate all pairs of objects identified in the request body. # @param from_object_type # @param to_object_type # @param [Hash] opts the optional parameters # @option opts [BatchInputPublicAssociation] :batch_input_public_association # @return [BatchResponsePublicAssociation] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for read # Read a batch of associations # Get the IDs of all `{toObjectType}` objects associated with those specified in the request body. # @param from_object_type # @param to_object_type # @param [Hash] opts the optional parameters # @option opts [BatchInputPublicObjectId] :batch_input_public_object_id # @return [BatchResponsePublicAssociationMulti] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end