|
| 1 | +/* |
| 2 | + * Bandwidth |
| 3 | + * Bandwidth's Communication APIs |
| 4 | + * |
| 5 | + * The version of the OpenAPI document: 1.0.0 |
| 6 | + |
| 7 | + * |
| 8 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 9 | + * https://openapi-generator.tech |
| 10 | + * Do not edit the class manually. |
| 11 | + */ |
| 12 | + |
| 13 | +package com.bandwidth.sdk.smoke; |
| 14 | + |
| 15 | +import org.junit.jupiter.api.BeforeAll; |
| 16 | +import org.junit.jupiter.api.Disabled; |
| 17 | +import org.junit.jupiter.api.Test; |
| 18 | + |
| 19 | +import com.bandwidth.sdk.ApiClient; |
| 20 | +import com.bandwidth.sdk.ApiException; |
| 21 | +import com.bandwidth.sdk.ApiResponse; |
| 22 | +import com.bandwidth.sdk.Configuration; |
| 23 | +import com.bandwidth.sdk.api.TollFreeVerificationApi; |
| 24 | +import com.bandwidth.sdk.auth.HttpBasicAuth; |
| 25 | + |
| 26 | +import java.util.List; |
| 27 | + |
| 28 | +import static org.hamcrest.MatcherAssert.assertThat; |
| 29 | +import static org.hamcrest.CoreMatchers.instanceOf; |
| 30 | +import static org.hamcrest.CoreMatchers.is; |
| 31 | + |
| 32 | +import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*; |
| 33 | + |
| 34 | +@SuppressWarnings("null") |
| 35 | +public class TollFreeVerificationApiTest { |
| 36 | + private static ApiClient defaultClient = Configuration.getDefaultApiClient(); |
| 37 | + private static HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); |
| 38 | + private static TollFreeVerificationApi api = new TollFreeVerificationApi(defaultClient); |
| 39 | + |
| 40 | + @BeforeAll |
| 41 | + public static void setUp() { |
| 42 | + Basic.setUsername(BW_USERNAME); |
| 43 | + Basic.setPassword(BW_PASSWORD); |
| 44 | + } |
| 45 | + |
| 46 | + @Test |
| 47 | + @Disabled |
| 48 | + public void createWebhookSubscriptionTest() throws ApiException { |
| 49 | + // Test |
| 50 | + } |
| 51 | + |
| 52 | + @Test |
| 53 | + @Disabled |
| 54 | + public void deleteWebhookSubscriptionTest() throws ApiException { |
| 55 | + // Test |
| 56 | + } |
| 57 | + |
| 58 | + @Test |
| 59 | + @Disabled |
| 60 | + public void getTollFreeVerificationStatusTest() throws ApiException { |
| 61 | + // Test |
| 62 | + } |
| 63 | + |
| 64 | + @Test |
| 65 | + public void listTollFreeUseCasesTest() throws ApiException { |
| 66 | + ApiResponse<List<String>> response = api.listTollFreeUseCasesWithHttpInfo(); |
| 67 | + |
| 68 | + assertThat(response.getStatusCode(), is(200)); |
| 69 | + assertThat(response.getData(), instanceOf(List.class)); |
| 70 | + } |
| 71 | + |
| 72 | + @Test |
| 73 | + @Disabled |
| 74 | + public void listWebhookSubscriptionsTest() throws ApiException { |
| 75 | + // Test |
| 76 | + } |
| 77 | + |
| 78 | + @Test |
| 79 | + @Disabled |
| 80 | + public void requestTollFreeVerificationTest() throws ApiException { |
| 81 | + // Test |
| 82 | + } |
| 83 | + |
| 84 | + @Test |
| 85 | + @Disabled |
| 86 | + public void updateTollFreeVerificationRequestTest() throws ApiException { |
| 87 | + // Test |
| 88 | + } |
| 89 | + |
| 90 | + @Test |
| 91 | + @Disabled |
| 92 | + public void updateWebhookSubscriptionTest() throws ApiException { |
| 93 | + // Test |
| 94 | + } |
| 95 | + |
| 96 | +} |
0 commit comments