Skip to content

Commit dc144fd

Browse files
DX-2700
1 parent b31cd1d commit dc144fd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/com/bandwidth/voice/bxml/verbs/Response.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public class Response {
4545
@XmlElement(name = StartGather.TYPE_NAME, type = StartGather.class),
4646
@XmlElement(name = StopGather.TYPE_NAME, type = StopGather.class),
4747
@XmlElement(name = Tag.TYPE_NAME, type = Tag.class),
48-
@XmlElement(name = SipUri.TYPE_NAME, type = SipUri.class)
48+
@XmlElement(name = SipUri.TYPE_NAME, type = SipUri.class),
49+
@XmlElement(name = StartStream.TYPE_NAME, type = StartStream.class),
50+
@XmlElement(name = StopStream.TYPE_NAME, type = StopStream.class)
4951
})
5052
private final List<Verb> verbs = new ArrayList<>();
5153

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public void testStartStream() {
467467
.add(startStream)
468468
.toBXML();
469469

470-
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StartStream destination=\"https://url.com\" streamEventMethod=\"POST\" username=\"user\" password=\"pass\" name=\"test\" streamEventUrl=\"https://url.com\"/></Response>";
470+
String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StartStream destination=\"https://url.com\" name=\"test\" streamEventUrl=\"https://url.com\" streamEventMethod=\"POST\" username=\"user\" password=\"pass\"/></Response>";
471471

472472
assertEquals("BXML strings not equal", expected, response);
473473
}

0 commit comments

Comments
 (0)