Skip to content

Commit 502086f

Browse files
committed
postbackData tests
1 parent d6003ef commit 502086f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/test/java/com/bandwidth/sdk/unit/models/RbmActionOpenUrlTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class RbmActionOpenUrlTest {
3131
private final RbmActionOpenUrl model = new RbmActionOpenUrl()
3232
.type(RbmActionTypeEnum.OPEN_URL)
3333
.text("text")
34-
.postBackData(new byte[]{1, 2, 3})
34+
.postbackData(new byte[]{1, 2, 3})
3535
.url(URI.create("https://bandwidth.com"));
3636

3737
/**
@@ -62,8 +62,8 @@ public void textTest() {
6262
* Test the property 'postBackData'
6363
*/
6464
@Test
65-
public void postBackDataTest() {
66-
assertThat(model.getPostBackData(), instanceOf(byte[].class));
65+
public void postbackDataTest() {
66+
assertThat(model.getPostbackData(), instanceOf(byte[].class));
6767
}
6868

6969
/**

src/test/java/com/bandwidth/sdk/unit/models/RbmActionViewLocationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class RbmActionViewLocationTest {
2828
private final RbmActionViewLocation model = new RbmActionViewLocation()
2929
.type(RbmActionTypeEnum.SHOW_LOCATION)
3030
.text("text")
31-
.postBackData(new byte[]{1, 2, 3})
31+
.postbackData(new byte[]{1, 2, 3})
3232
.latitude(1.0)
3333
.longitude(1.0)
3434
.label("label");
@@ -62,7 +62,7 @@ public void textTest() {
6262
*/
6363
@Test
6464
public void postBackDataTest() {
65-
assertThat(model.getPostBackData(), instanceOf(byte[].class));
65+
assertThat(model.getPostbackData(), instanceOf(byte[].class));
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)