freeclimb 4.3.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +20 -4
  5. data/docs/DefaultApi.md +433 -0
  6. data/docs/IncomingNumberRequest.md +3 -1
  7. data/docs/SMSTenDLCBrand.md +78 -0
  8. data/docs/SMSTenDLCBrandsListResult.md +32 -0
  9. data/docs/SMSTenDLCBrandsListResultAllOf.md +18 -0
  10. data/docs/SMSTenDLCCampaign.md +78 -0
  11. data/docs/SMSTenDLCCampaignsListResult.md +32 -0
  12. data/docs/SMSTenDLCCampaignsListResultAllOf.md +18 -0
  13. data/docs/SMSTenDLCPartnerCampaign.md +74 -0
  14. data/docs/SMSTenDLCPartnerCampaignBrand.md +38 -0
  15. data/docs/SMSTenDLCPartnerCampaignsListResult.md +32 -0
  16. data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +18 -0
  17. data/lib/freeclimb/api/default_api.rb +360 -0
  18. data/lib/freeclimb/models/incoming_number_request.rb +15 -4
  19. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +960 -0
  20. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +306 -0
  21. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +221 -0
  22. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +814 -0
  23. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +306 -0
  24. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +221 -0
  25. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +807 -0
  26. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +445 -0
  27. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +306 -0
  28. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +221 -0
  29. data/lib/freeclimb/version.rb +1 -1
  30. data/lib/freeclimb.rb +10 -0
  31. data/openapi.json +1277 -12
  32. data/spec/api/default_api_spec.rb +151 -1
  33. data/spec/models/account_request_spec.rb +143 -2
  34. data/spec/models/account_result_spec.rb +377 -13
  35. data/spec/models/account_status_spec.rb +39 -6
  36. data/spec/models/account_type_spec.rb +26 -4
  37. data/spec/models/add_to_conference_spec.rb +343 -10
  38. data/spec/models/answered_by_spec.rb +26 -4
  39. data/spec/models/application_list_spec.rb +293 -8
  40. data/spec/models/application_request_spec.rb +268 -7
  41. data/spec/models/application_result_spec.rb +418 -13
  42. data/spec/models/available_number_list_spec.rb +293 -8
  43. data/spec/models/available_number_spec.rb +263 -7
  44. data/spec/models/buy_incoming_number_request_spec.rb +168 -3
  45. data/spec/models/call_direction_spec.rb +39 -6
  46. data/spec/models/call_list_spec.rb +293 -8
  47. data/spec/models/call_result_spec.rb +603 -22
  48. data/spec/models/call_status_spec.rb +104 -16
  49. data/spec/models/capabilities_spec.rb +218 -5
  50. data/spec/models/conference_list_spec.rb +293 -8
  51. data/spec/models/conference_participant_list_spec.rb +293 -8
  52. data/spec/models/conference_participant_result_spec.rb +343 -10
  53. data/spec/models/conference_result_spec.rb +464 -16
  54. data/spec/models/conference_status_spec.rb +52 -8
  55. data/spec/models/create_conference_request_spec.rb +228 -6
  56. data/spec/models/create_conference_spec.rb +253 -7
  57. data/spec/models/enqueue_spec.rb +193 -4
  58. data/spec/models/filter_logs_request_spec.rb +118 -1
  59. data/spec/models/get_digits_spec.rb +318 -9
  60. data/spec/models/get_speech_reason_spec.rb +78 -12
  61. data/spec/models/get_speech_spec.rb +388 -14
  62. data/spec/models/grammar_file_built_in_spec.rb +195 -30
  63. data/spec/models/grammar_type_spec.rb +26 -4
  64. data/spec/models/hangup_spec.rb +118 -1
  65. data/spec/models/if_machine_spec.rb +26 -4
  66. data/spec/models/incoming_number_list_spec.rb +293 -8
  67. data/spec/models/incoming_number_request_spec.rb +173 -2
  68. data/spec/models/incoming_number_result_spec.rb +488 -16
  69. data/spec/models/language_spec.rb +338 -52
  70. data/spec/models/log_level_spec.rb +39 -6
  71. data/spec/models/log_list_spec.rb +293 -8
  72. data/spec/models/log_result_spec.rb +275 -8
  73. data/spec/models/machine_type_spec.rb +26 -4
  74. data/spec/models/make_call_request_spec.rb +343 -10
  75. data/spec/models/message_direction_spec.rb +26 -4
  76. data/spec/models/message_request_spec.rb +318 -9
  77. data/spec/models/message_result_spec.rb +431 -13
  78. data/spec/models/message_status_spec.rb +143 -22
  79. data/spec/models/messages_list_spec.rb +293 -8
  80. data/spec/models/mutable_resource_model_spec.rb +193 -4
  81. data/spec/models/out_dial_spec.rb +345 -11
  82. data/spec/models/pagination_model_spec.rb +268 -7
  83. data/spec/models/park_spec.rb +168 -3
  84. data/spec/models/pause_spec.rb +118 -1
  85. data/spec/models/percl_command_spec.rb +132 -3
  86. data/spec/models/percl_script_spec.rb +118 -1
  87. data/spec/models/play_beep_spec.rb +52 -8
  88. data/spec/models/play_early_media_spec.rb +118 -1
  89. data/spec/models/play_spec.rb +193 -4
  90. data/spec/models/queue_list_spec.rb +293 -8
  91. data/spec/models/queue_member_list_spec.rb +293 -8
  92. data/spec/models/queue_member_spec.rb +218 -5
  93. data/spec/models/queue_request_spec.rb +143 -2
  94. data/spec/models/queue_result_spec.rb +369 -11
  95. data/spec/models/queue_result_status_spec.rb +52 -8
  96. data/spec/models/record_utterance_spec.rb +268 -7
  97. data/spec/models/record_utterance_term_reason_spec.rb +52 -8
  98. data/spec/models/recording_list_spec.rb +293 -8
  99. data/spec/models/recording_result_spec.rb +318 -9
  100. data/spec/models/redirect_spec.rb +118 -1
  101. data/spec/models/reject_spec.rb +118 -1
  102. data/spec/models/remove_from_conference_spec.rb +118 -1
  103. data/spec/models/request_type_spec.rb +299 -46
  104. data/spec/models/say_spec.rb +218 -5
  105. data/spec/models/send_digits_spec.rb +168 -3
  106. data/spec/models/set_listen_spec.rb +143 -2
  107. data/spec/models/set_talk_spec.rb +143 -2
  108. data/spec/models/sms_spec.rb +193 -4
  109. data/spec/models/sms_ten_dlc_brand_spec.rb +1240 -0
  110. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +361 -0
  111. data/spec/models/sms_ten_dlc_campaign_spec.rb +1055 -0
  112. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +361 -0
  113. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +448 -0
  114. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +994 -0
  115. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +361 -0
  116. data/spec/models/terminate_conference_spec.rb +118 -1
  117. data/spec/models/update_call_request_spec.rb +120 -2
  118. data/spec/models/update_call_request_status_spec.rb +26 -4
  119. data/spec/models/update_conference_participant_request_spec.rb +143 -2
  120. data/spec/models/update_conference_request_spec.rb +180 -5
  121. data/spec/models/update_conference_request_status_spec.rb +26 -4
  122. metadata +102 -68
@@ -0,0 +1,448 @@
1
+ =begin
2
+ #FreeClimb API
3
+
4
+ #FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::SMSTenDLCPartnerCampaignBrand
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::SMSTenDLCPartnerCampaignBrand do
21
+ let(:instance) { Freeclimb::SMSTenDLCPartnerCampaignBrand.new }
22
+
23
+ describe 'test an instance of SMSTenDLCPartnerCampaignBrand' do
24
+ it 'should create an instance of SMSTenDLCPartnerCampaignBrand' do
25
+ expect(instance).to be_instance_of(Freeclimb::SMSTenDLCPartnerCampaignBrand)
26
+ end
27
+ end
28
+ describe 'test attribute "account_id"' do
29
+ it 'should work' do
30
+ instance.account_id = "TEST_STRING"
31
+ expect(instance.account_id).to eq("TEST_STRING")
32
+ end
33
+ end
34
+
35
+ describe 'test attribute "brand_id"' do
36
+ it 'should work' do
37
+ instance.brand_id = "TEST_STRING"
38
+ expect(instance.brand_id).to eq("TEST_STRING")
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "first_name"' do
43
+ it 'should work' do
44
+ instance.first_name = "TEST_STRING"
45
+ expect(instance.first_name).to eq("TEST_STRING")
46
+ end
47
+ end
48
+
49
+ describe 'test attribute "last_name"' do
50
+ it 'should work' do
51
+ instance.last_name = "TEST_STRING"
52
+ expect(instance.last_name).to eq("TEST_STRING")
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "display_name"' do
57
+ it 'should work' do
58
+ instance.display_name = "TEST_STRING"
59
+ expect(instance.display_name).to eq("TEST_STRING")
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "company_name"' do
64
+ it 'should work' do
65
+ instance.company_name = "TEST_STRING"
66
+ expect(instance.company_name).to eq("TEST_STRING")
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "phone"' do
71
+ it 'should work' do
72
+ instance.phone = "TEST_STRING"
73
+ expect(instance.phone).to eq("TEST_STRING")
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "email"' do
78
+ it 'should work' do
79
+ instance.email = "TEST_STRING"
80
+ expect(instance.email).to eq("TEST_STRING")
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "website"' do
85
+ it 'should work' do
86
+ instance.website = "TEST_STRING"
87
+ expect(instance.website).to eq("TEST_STRING")
88
+ end
89
+ end
90
+
91
+ describe 'test attribute "optional_attributes"' do
92
+ it 'should work' do
93
+ testObject = Object.new()
94
+ instance.optional_attributes = testObject
95
+ expect(instance.optional_attributes).to eq(testObject)
96
+ end
97
+ end
98
+
99
+ describe 'test attribute "evp_vetting_score"' do
100
+ it 'should work' do
101
+ instance.evp_vetting_score = 1
102
+ expect(instance.evp_vetting_score).to eq(1)
103
+ end
104
+ end
105
+
106
+ describe 'test method "initialize"' do
107
+ it 'properly initializes with values' do
108
+ expect{instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
109
+ account_id: "TS",
110
+ brand_id: "TS",
111
+ first_name: "TS",
112
+ last_name: "TS",
113
+ display_name: "TS",
114
+ company_name: "TS",
115
+ phone: "TS",
116
+ email: "TS",
117
+ website: "TS",
118
+ optional_attributes: Hash.new(),
119
+ evp_vetting_score: 1,
120
+ )}.not_to raise_error()
121
+ end
122
+ it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCPartnerCampaignBrand' do
123
+ expect{instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
124
+ account_id: "TS",
125
+ brand_id: "TS",
126
+ first_name: "TS",
127
+ last_name: "TS",
128
+ display_name: "TS",
129
+ company_name: "TS",
130
+ phone: "TS",
131
+ email: "TS",
132
+ website: "TS",
133
+ optional_attributes: Hash.new(),
134
+ evp_vetting_score: 1,
135
+ invalid_attribute: true
136
+ )}.to raise_error(ArgumentError)
137
+ end
138
+ it 'fails to initialize with invalid attribute' do
139
+ expect{instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
140
+ account_id: "TS",
141
+ brand_id: "TS",
142
+ first_name: "TS",
143
+ last_name: "TS",
144
+ display_name: "TS",
145
+ company_name: "TS",
146
+ phone: "TS",
147
+ email: "TS",
148
+ website: "TS",
149
+ optional_attributes: Hash.new(),
150
+ evp_vetting_score: 1,
151
+ invalid_attribute: true
152
+ )}.to raise_error(ArgumentError)
153
+ end
154
+ end
155
+
156
+ describe 'test method "valid"' do
157
+ it 'checks if properties are valid' do
158
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
159
+ account_id: "TS",
160
+ brand_id: "TS",
161
+ first_name: "TS",
162
+ last_name: "TS",
163
+ display_name: "TS",
164
+ company_name: "TS",
165
+ phone: "TS",
166
+ email: "TS",
167
+ website: "TS",
168
+ optional_attributes: Hash.new(),
169
+ evp_vetting_score: 1,
170
+ )
171
+ expect(instance.valid?).to eq(true)
172
+ end
173
+ end
174
+
175
+ describe 'test method "eql?"' do
176
+ it 'checks if objects are equal' do
177
+ obj = Object.new()
178
+ instance_1 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
179
+ account_id: "TS",
180
+ brand_id: "TS",
181
+ first_name: "TS",
182
+ last_name: "TS",
183
+ display_name: "TS",
184
+ company_name: "TS",
185
+ phone: "TS",
186
+ email: "TS",
187
+ website: "TS",
188
+ evp_vetting_score: 1,
189
+ )
190
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
191
+ account_id: "TS",
192
+ brand_id: "TS",
193
+ first_name: "TS",
194
+ last_name: "TS",
195
+ display_name: "TS",
196
+ company_name: "TS",
197
+ phone: "TS",
198
+ email: "TS",
199
+ website: "TS",
200
+ evp_vetting_score: 1,
201
+ )
202
+ expect(instance_1.eql?(instance_2)).to eq(true)
203
+ end
204
+ it 'checks if objects are not equal' do
205
+ instance_1 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
206
+ account_id: "TS",
207
+ brand_id: "TS",
208
+ first_name: "TS",
209
+ last_name: "TS",
210
+ display_name: "TS",
211
+ company_name: "TS",
212
+ phone: "TS",
213
+ email: "TS",
214
+ website: "TS",
215
+ evp_vetting_score: 1,
216
+ )
217
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
218
+ account_id: "ST",
219
+ brand_id: "ST",
220
+ first_name: "ST",
221
+ last_name: "ST",
222
+ display_name: "ST",
223
+ company_name: "ST",
224
+ phone: "ST",
225
+ email: "ST",
226
+ website: "ST",
227
+ evp_vetting_score: 0,
228
+ )
229
+ expect(instance_1.eql?(instance_2)).to eq(false)
230
+ end
231
+ end
232
+
233
+ describe 'test method "hash"' do
234
+ it 'calculates hash code' do
235
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
236
+ account_id: "TS",
237
+ brand_id: "TS",
238
+ first_name: "TS",
239
+ last_name: "TS",
240
+ display_name: "TS",
241
+ company_name: "TS",
242
+ phone: "TS",
243
+ email: "TS",
244
+ website: "TS",
245
+ optional_attributes: Hash.new(),
246
+ evp_vetting_score: 1,
247
+ )
248
+ expect(instance.hash).to be_a_kind_of(Integer)
249
+ end
250
+ end
251
+
252
+ describe 'test method "build_from_hash"' do
253
+ it 'builds equivalent model from hash code' do
254
+ instance_1 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
255
+ account_id: "TS",
256
+ brand_id: "TS",
257
+ first_name: "TS",
258
+ last_name: "TS",
259
+ display_name: "TS",
260
+ company_name: "TS",
261
+ phone: "TS",
262
+ email: "TS",
263
+ website: "TS",
264
+ optional_attributes: Hash.new(),
265
+ evp_vetting_score: 1,
266
+ )
267
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new
268
+ expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
269
+ end
270
+ end
271
+
272
+ describe 'test method "_deserialize"' do
273
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
274
+ account_id: "TS",
275
+ brand_id: "TS",
276
+ first_name: "TS",
277
+ last_name: "TS",
278
+ display_name: "TS",
279
+ company_name: "TS",
280
+ phone: "TS",
281
+ email: "TS",
282
+ website: "TS",
283
+ optional_attributes: Hash.new(),
284
+ evp_vetting_score: 1,
285
+ )
286
+ it 'deserializes the data of account_id' do
287
+ expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
288
+ end
289
+ it 'deserializes the data of brand_id' do
290
+ expect(instance._deserialize("String", instance.brand_id)).to be_a_kind_of(String)
291
+ end
292
+ it 'deserializes the data of first_name' do
293
+ expect(instance._deserialize("String", instance.first_name)).to be_a_kind_of(String)
294
+ end
295
+ it 'deserializes the data of last_name' do
296
+ expect(instance._deserialize("String", instance.last_name)).to be_a_kind_of(String)
297
+ end
298
+ it 'deserializes the data of display_name' do
299
+ expect(instance._deserialize("String", instance.display_name)).to be_a_kind_of(String)
300
+ end
301
+ it 'deserializes the data of company_name' do
302
+ expect(instance._deserialize("String", instance.company_name)).to be_a_kind_of(String)
303
+ end
304
+ it 'deserializes the data of phone' do
305
+ expect(instance._deserialize("String", instance.phone)).to be_a_kind_of(String)
306
+ end
307
+ it 'deserializes the data of email' do
308
+ expect(instance._deserialize("String", instance.email)).to be_a_kind_of(String)
309
+ end
310
+ it 'deserializes the data of website' do
311
+ expect(instance._deserialize("String", instance.website)).to be_a_kind_of(String)
312
+ end
313
+ it 'deserializes the data of optional_attributes' do
314
+ expect(instance._deserialize("Hash<String, Object>", instance.optional_attributes)).to be_a_kind_of(Hash)
315
+ end
316
+ it 'deserializes the data of evp_vetting_score' do
317
+ expect(instance._deserialize("Integer", instance.evp_vetting_score)).to be_a_kind_of(Integer)
318
+ end
319
+ end
320
+
321
+ describe 'test method "to_s"' do
322
+ it 'returns the string representation of the object' do
323
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
324
+ account_id: "TS",
325
+ brand_id: "TS",
326
+ first_name: "TS",
327
+ last_name: "TS",
328
+ display_name: "TS",
329
+ company_name: "TS",
330
+ phone: "TS",
331
+ email: "TS",
332
+ website: "TS",
333
+ optional_attributes: Hash.new(),
334
+ evp_vetting_score: 1,
335
+ )
336
+ expect(instance.to_s).to eq(instance.to_hash.to_s)
337
+ end
338
+ end
339
+
340
+ describe 'test method "to_hash"' do
341
+ it 'returns the object in the form of hash' do
342
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
343
+ account_id: "TS",
344
+ brand_id: "TS",
345
+ first_name: "TS",
346
+ last_name: "TS",
347
+ display_name: "TS",
348
+ company_name: "TS",
349
+ phone: "TS",
350
+ email: "TS",
351
+ website: "TS",
352
+ optional_attributes: Hash.new(),
353
+ evp_vetting_score: 1,
354
+ )
355
+ expect(instance.to_hash).to be_a_kind_of(Hash)
356
+ end
357
+ it 'creates equal hash for two equal objects' do
358
+ obj = Object.new()
359
+ instance_1 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
360
+ account_id: "TS",
361
+ brand_id: "TS",
362
+ first_name: "TS",
363
+ last_name: "TS",
364
+ display_name: "TS",
365
+ company_name: "TS",
366
+ phone: "TS",
367
+ email: "TS",
368
+ website: "TS",
369
+ optional_attributes: Hash.new(),
370
+ evp_vetting_score: 1,
371
+ )
372
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
373
+ account_id: "TS",
374
+ brand_id: "TS",
375
+ first_name: "TS",
376
+ last_name: "TS",
377
+ display_name: "TS",
378
+ company_name: "TS",
379
+ phone: "TS",
380
+ email: "TS",
381
+ website: "TS",
382
+ optional_attributes: Hash.new(),
383
+ evp_vetting_score: 1,
384
+ )
385
+ expect(instance_1.to_hash).to eq(instance_2.to_hash)
386
+ end
387
+ end
388
+
389
+ describe 'test method "_to_hash"' do
390
+ instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
391
+ account_id: "TS",
392
+
393
+ brand_id: "TS",
394
+
395
+ first_name: "TS",
396
+
397
+ last_name: "TS",
398
+
399
+ display_name: "TS",
400
+
401
+ company_name: "TS",
402
+
403
+ phone: "TS",
404
+
405
+ email: "TS",
406
+
407
+ website: "TS",
408
+
409
+ optional_attributes: Hash.new(),
410
+
411
+ evp_vetting_score: 1,
412
+ )
413
+ it 'returns account_id in the form of hash' do
414
+ expect(instance._to_hash(instance.account_id)).to eq(instance.account_id)
415
+ end
416
+ it 'returns brand_id in the form of hash' do
417
+ expect(instance._to_hash(instance.brand_id)).to eq(instance.brand_id)
418
+ end
419
+ it 'returns first_name in the form of hash' do
420
+ expect(instance._to_hash(instance.first_name)).to eq(instance.first_name)
421
+ end
422
+ it 'returns last_name in the form of hash' do
423
+ expect(instance._to_hash(instance.last_name)).to eq(instance.last_name)
424
+ end
425
+ it 'returns display_name in the form of hash' do
426
+ expect(instance._to_hash(instance.display_name)).to eq(instance.display_name)
427
+ end
428
+ it 'returns company_name in the form of hash' do
429
+ expect(instance._to_hash(instance.company_name)).to eq(instance.company_name)
430
+ end
431
+ it 'returns phone in the form of hash' do
432
+ expect(instance._to_hash(instance.phone)).to eq(instance.phone)
433
+ end
434
+ it 'returns email in the form of hash' do
435
+ expect(instance._to_hash(instance.email)).to eq(instance.email)
436
+ end
437
+ it 'returns website in the form of hash' do
438
+ expect(instance._to_hash(instance.website)).to eq(instance.website)
439
+ end
440
+ it 'returns optional_attributes in the form of hash' do
441
+ expect(instance._to_hash(instance.optional_attributes)).to eq(instance.optional_attributes)
442
+ end
443
+ it 'returns evp_vetting_score in the form of hash' do
444
+ expect(instance._to_hash(instance.evp_vetting_score)).to eq(instance.evp_vetting_score)
445
+ end
446
+ end
447
+
448
+ end