@@ -1484,10 +1484,10 @@ public synchronized void testDialNumberRejectBusyRcml() throws InterruptedExcept
14841484 assertTrue (bobCall .waitOutgoingCallResponse (5 * 1000 ));
14851485 assertEquals (Response .BUSY_HERE , bobCall .getLastReceivedResponse ().getStatusCode ());
14861486 }
1487-
1487+
14881488 private String dialClientWithActionRcml = "<Response><Dial action=\" http://127.0.0.1:8090/action\" method=\" GET\" ><Client>alice</Client></Dial></Response>" ;
14891489 private String hangupActionRcml = "<Response><Hangup /></Response>" ;
1490-
1490+
14911491 @ Test // (customised from testDialClientAliceWithRecordAndStatusCallbackForApp)
14921492 public synchronized void testDialClientAliceWithActionAndStatusCallbackForApp () throws InterruptedException , ParseException {
14931493 stubFor (get (urlPathEqualTo ("/1111" ))
@@ -1543,7 +1543,7 @@ public synchronized void testDialClientAliceWithActionAndStatusCallbackForApp()
15431543 Thread .sleep (3000 );
15441544
15451545 // hangup (must be as alice, the callee, hanging up in order to test the specific issue found)
1546-
1546+
15471547 aliceCall .disconnect ();
15481548 bobCall .listenForDisconnect ();
15491549 assertTrue (bobCall .waitForDisconnect (3 * 1000 ));
@@ -1559,9 +1559,9 @@ public synchronized void testDialClientAliceWithActionAndStatusCallbackForApp()
15591559 }
15601560 assertTrue (requests .size ()==3 );
15611561 }
1562-
1562+
15631563 private String dialTimeOutClientWithActionRcml = "<Response><Dial timeout=\" 3\" action=\" http://127.0.0.1:8090/action\" method=\" GET\" ><Client>alice</Client></Dial></Response>" ;
1564-
1564+
15651565 @ Test // (customised from testDialClientAliceWithRecordAndStatusCallbackForApp)
15661566 public synchronized void testDialTimeOutClientAliceWithActionAndStatusCallbackForApp () throws InterruptedException , ParseException {
15671567 stubFor (get (urlPathEqualTo ("/1111" ))
@@ -1609,7 +1609,6 @@ public synchronized void testDialTimeOutClientAliceWithActionAndStatusCallbackFo
16091609
16101610 assertTrue (aliceCall .waitForIncomingCall (3 * 1000 ));
16111611 assertTrue (aliceCall .sendIncomingCallResponse (Response .RINGING , "Ringing-Alice" , 3600 ));
1612- String receivedBody = new String (aliceCall .getLastReceivedRequest ().getRawContent ());
16131612
16141613 aliceCall .listenForCancel ();
16151614
@@ -1618,7 +1617,7 @@ public synchronized void testDialTimeOutClientAliceWithActionAndStatusCallbackFo
16181617 assertTrue (aliceCall .respondToCancel (cancelTransaction , Response .OK , "Alice-OK-2-Cancel" , 3600 ));
16191618
16201619 // hangup (must be as alice, the callee, hanging up in order to test the specific issue found)
1621-
1620+
16221621 bobCall .listenForDisconnect ();
16231622 assertTrue (bobCall .waitForDisconnect (3 * 1000 ));
16241623 assertTrue (bobCall .respondToDisconnect ());
@@ -1631,7 +1630,7 @@ public synchronized void testDialTimeOutClientAliceWithActionAndStatusCallbackFo
16311630 for (LoggedRequest loggedRequest : requests ) {
16321631 logger .info ("Status callback received: " + loggedRequest .getUrl ());
16331632 }
1634- assertTrue ( requests .size ()== 4 );
1633+ assertEquals ( 4 , requests .size ());
16351634}
16361635
16371636 @ Deployment (name = "TestDialVerbPartTwo" , managed = true , testable = false )
0 commit comments