-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSyncLookupRequestTest.java
More file actions
59 lines (48 loc) · 1.39 KB
/
SyncLookupRequestTest.java
File metadata and controls
59 lines (48 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* Bandwidth
* Bandwidth's Communication APIs
*
* The version of the OpenAPI document: 1.0.0
* Contact: letstalk@bandwidth.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.bandwidth.sdk.unit.models;
import com.bandwidth.sdk.model.SyncLookupRequest;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.CoreMatchers.instanceOf;
/**
* Model tests for SyncLookupRequest
*/
public class SyncLookupRequestTest {
private final SyncLookupRequest model = new SyncLookupRequest()
.phoneNumbers(new ArrayList<String>(Arrays.asList("+1234567890", "+1987654321")))
.rcsAgent("TestAgent");
/**
* Model tests for SyncLookupRequest
*/
@Test
public void testSyncLookupRequest() {
assertThat(model, instanceOf(SyncLookupRequest.class));
}
/**
* Test the property 'phoneNumbers'
*/
@Test
public void phoneNumbersTest() {
assertThat(model.getPhoneNumbers(), instanceOf(List.class));
}
/**
* Test the property 'rcsAgent'
*/
@Test
public void rcsAgentTest() {
assertThat(model.getRcsAgent(), instanceOf(String.class));
}
}