Sha256: 2b9841bf0fadfae2ab888c6a69e3be06c783824a2762962f7d80bb047cc64042

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

=begin
#Fatture in Cloud API v2 - API Reference

#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy.   The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.

The version of the OpenAPI document: 2.0.7
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for FattureInCloud_Ruby_Sdk::IssuedDocumentRefersTo
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe FattureInCloud_Ruby_Sdk::IssuedDocumentRefersTo do
  instance = FattureInCloud_Ruby_Sdk::IssuedDocumentRefersTo.new
  instance.id = 12345
  instance.date = Date.new(2021, 12, 21)
  instance.number = 2
  instance.numeration = "num2"
  instance.description = ""

  describe 'test an instance of IssuedDocumentRefersTo' do
    it 'should create an instance of IssuedDocumentRefersTo' do
      expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::IssuedDocumentRefersTo)
    end
  end
  describe 'test attribute "id"' do
    it 'should work' do
      expect(instance.id).to be_a_kind_of(Numeric)
    end
  end

  describe 'test attribute "date"' do
    it 'should work' do
      expect(instance.date).to be_a_kind_of(Date)
    end
  end

  describe 'test attribute "number"' do
    it 'should work' do
      expect(instance.number).to be_a_kind_of(Numeric)
    end
  end

  describe 'test attribute "numeration"' do
    it 'should work' do
      expect(instance.numeration).to be_a_kind_of(String)
    end
  end

  describe 'test attribute "description"' do
    it 'should work' do
      expect(instance.description).to be_a_kind_of(String)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.0.3 spec/models/issued_document_refers_to_spec.rb
fattureincloud_ruby_sdk-2.0.2 spec/models/issued_document_refers_to_spec.rb