Skip to content

Commit 8485e7e

Browse files
committed
enum unit tests
1 parent 9b4ed3a commit 8485e7e

8 files changed

+308
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.CardWidthEnum;
19+
20+
import static org.hamcrest.CoreMatchers.equalTo;
21+
import static org.hamcrest.MatcherAssert.assertThat;
22+
23+
/**
24+
* Model tests for CardWidthEnum
25+
*/
26+
public class CardWidthEnumTest {
27+
/**
28+
* Model tests for CardWidthEnum
29+
*/
30+
@Test
31+
public void testCardWidthEnum() {
32+
assertThat(CardWidthEnum.SMALL.toString(), equalTo("SMALL"));
33+
assertThat(CardWidthEnum.MEDIUM.toString(), equalTo("MEDIUM"));
34+
}
35+
36+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageChannelEnum;
19+
20+
import static org.hamcrest.CoreMatchers.equalTo;
21+
import static org.hamcrest.MatcherAssert.assertThat;
22+
23+
/**
24+
* Model tests for MultiChannelMessageChannelEnum
25+
*/
26+
public class MultiChannelMessageChannelEnumTest {
27+
/**
28+
* Model tests for MultiChannelMessageChannelEnum
29+
*/
30+
@Test
31+
public void testMultiChannelMessageChannelEnum() {
32+
assertThat(MultiChannelMessageChannelEnum.RBM.toString(), equalTo("RBM"));
33+
assertThat(MultiChannelMessageChannelEnum.SMS.toString(), equalTo("SMS"));
34+
assertThat(MultiChannelMessageChannelEnum.MMS.toString(), equalTo("MMS"));
35+
}
36+
37+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageChannelEnum;
19+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for MultiChannelMessageDirectionEnum
27+
*/
28+
public class MultiChannelMessageDirectionEnumTest {
29+
/**
30+
* Model tests for MultiChannelMessageDirectionEnum
31+
*/
32+
@Test
33+
public void testMultiChannelMessageDirectionEnum() {
34+
assertThat(MultiChannelMessageDirectionEnum.INBOUND.toString(), equalTo("INBOUND"));
35+
assertThat(MultiChannelMessageDirectionEnum.OUTBOUND.toString(), equalTo("OUTBOUND"));
36+
}
37+
38+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
19+
import com.bandwidth.sdk.model.MultiChannelStatusEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for MultiChannelStatusEnum
27+
*/
28+
public class MultiChannelStatusEnumTest {
29+
/**
30+
* Model tests for MultiChannelStatusEnum
31+
*/
32+
@Test
33+
public void testMultiChannelStatusEnum() {
34+
assertThat(MultiChannelStatusEnum.QUEUED.toString(), equalTo("QUEUED"));
35+
assertThat(MultiChannelStatusEnum.SENDING.toString(), equalTo("SENDING"));
36+
assertThat(MultiChannelStatusEnum.DELIVERED.toString(), equalTo("DELIVERED"));
37+
assertThat(MultiChannelStatusEnum.FAILED.toString(), equalTo("FAILED"));
38+
}
39+
40+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
19+
import com.bandwidth.sdk.model.RbmActionTypeEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for RbmActionTypeEnum
27+
*/
28+
public class RbmActionTypeEnumTest {
29+
/**
30+
* Model tests for RbmActionTypeEnum
31+
*/
32+
@Test
33+
public void testRbmActionTypeEnum() {
34+
assertThat(RbmActionTypeEnum.REPLY.toString(), equalTo("REPLY"));
35+
assertThat(RbmActionTypeEnum.DIAL_PHONE.toString(), equalTo("DIAL_PHONE"));
36+
assertThat(RbmActionTypeEnum.SHOW_LOCATION.toString(), equalTo("SHOW_LOCATION"));
37+
assertThat(RbmActionTypeEnum.CREATE_CALENDAR_EVENT.toString(), equalTo("CREATE_CALENDAR_EVENT"));
38+
assertThat(RbmActionTypeEnum.OPEN_URL.toString(), equalTo("OPEN_URL"));
39+
assertThat(RbmActionTypeEnum.REQUEST_LOCATION.toString(), equalTo("REQUEST_LOCATION"));
40+
}
41+
42+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
19+
import com.bandwidth.sdk.model.RbmMediaHeightEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for RbmMediaHeightEnum
27+
*/
28+
public class RbmMediaHeightEnumTest {
29+
/**
30+
* Model tests for RbmMediaHeightEnum
31+
*/
32+
@Test
33+
public void testRbmMediaHeightEnum() {
34+
assertThat(RbmMediaHeightEnum.SHORT.toString(), equalTo("SHORT"));
35+
assertThat(RbmMediaHeightEnum.MEDIUM.toString(), equalTo("MEDIUM"));
36+
assertThat(RbmMediaHeightEnum.TALL.toString(), equalTo("TALL"));
37+
}
38+
39+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
19+
import com.bandwidth.sdk.model.StandaloneCardOrientationEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for StandaloneCardOrientationEnum
27+
*/
28+
public class StandaloneCardOrientationEnumTest {
29+
/**
30+
* Model tests for StandaloneCardOrientationEnum
31+
*/
32+
@Test
33+
public void testStandaloneCardOrientationEnum() {
34+
assertThat(StandaloneCardOrientationEnum.HORIZONTAL.toString(), equalTo("HORIZONTAL"));
35+
assertThat(StandaloneCardOrientationEnum.VERTICAL.toString(), equalTo("VERTICAL"));
36+
}
37+
38+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Bandwidth
3+
* Bandwidth's Communication APIs
4+
*
5+
* The version of the OpenAPI document: 1.0.0
6+
* Contact: [email protected]
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+
14+
package com.bandwidth.sdk.unit.models;
15+
16+
import org.junit.jupiter.api.Test;
17+
18+
import com.bandwidth.sdk.model.MultiChannelMessageDirectionEnum;
19+
import com.bandwidth.sdk.model.ThumbnailAlignmentEnum;
20+
21+
import static org.hamcrest.CoreMatchers.equalTo;
22+
import static org.hamcrest.MatcherAssert.assertThat;
23+
24+
25+
/**
26+
* Model tests for ThumbnailAlignmentEnum
27+
*/
28+
public class ThumbnailAlignmentEnumTest {
29+
/**
30+
* Model tests for ThumbnailAlignmentEnum
31+
*/
32+
@Test
33+
public void testThumbnailAlignmentEnum() {
34+
assertThat(ThumbnailAlignmentEnum.LEFT.toString(), equalTo("LEFT"));
35+
assertThat(ThumbnailAlignmentEnum.RIGHT.toString(), equalTo("RIGHT"));
36+
}
37+
38+
}

0 commit comments

Comments
 (0)