Skip to content

Commit 2463d34

Browse files
Update BxmlTest.java
1 parent dc144fd commit 2463d34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/com/bandwidth/BxmlTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,13 +473,15 @@ public void testStartStream() {
473473
}
474474
@Test
475475
public void testStopStream() {
476-
StopStream stopStream = StopStream.builder().build();
476+
StopStream stopStream = StopStream.builder()
477+
.name("test")
478+
.build();
477479

478480
String response = new Response()
479481
.add(stopStream)
480482
.toBXML();
481483

482-
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StopRecording/></Response>";
484+
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StopRecording name=\"test\"/></Response>";
483485

484486
assertEquals("BXML strings not equal", expected, response);
485487
}

0 commit comments

Comments
 (0)