File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
main/java/com/bandwidth/voice/bxml/verbs Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments