@@ -167,12 +167,25 @@ public void testSendMessage() throws IOException, InterruptedException {
167167 serviceResponse .getOutput ().getText ().toArray (new String [0 ]));
168168 assertEquals (request .getMethod (), "POST" );
169169 assertNotNull (request .getHeader (HttpHeaders .AUTHORIZATION ));
170+ assertNotNull (serviceResponse .getActions ());
171+ assertNotNull (serviceResponse .getActions ().get (0 ).getName ());
172+ assertNotNull (serviceResponse .getActions ().get (0 ).getCredentials ());
173+ assertNotNull (serviceResponse .getActions ().get (0 ).getActionType ());
174+ assertNotNull (serviceResponse .getActions ().get (0 ).getParameters ());
175+ assertNotNull (serviceResponse .getActions ().get (0 ).getResultVariable ());
170176 assertNotNull (serviceResponse .getOutput ().getLogMessages ());
171177 assertNotNull (serviceResponse .getOutput ().getNodesVisited ());
172178 assertNotNull (serviceResponse .getOutput ().getNodesVisitedDetails ());
173179 assertNotNull (serviceResponse .getOutput ().getNodesVisitedDetails ().get (0 ).getDialogNode ());
174180 assertNotNull (serviceResponse .getOutput ().getNodesVisitedDetails ().get (0 ).getTitle ());
175181 assertNotNull (serviceResponse .getOutput ().getNodesVisitedDetails ().get (0 ).getConditions ());
182+ assertNotNull (serviceResponse .getOutput ().getNodesVisitedDetails ().get (0 ).getConditions ());
183+ assertNotNull (serviceResponse .getOutput ().getActions ());
184+ assertNotNull (serviceResponse .getOutput ().getActions ().get (0 ).getName ());
185+ assertNotNull (serviceResponse .getOutput ().getActions ().get (0 ).getCredentials ());
186+ assertNotNull (serviceResponse .getOutput ().getActions ().get (0 ).getActionType ());
187+ assertNotNull (serviceResponse .getOutput ().getActions ().get (0 ).getParameters ());
188+ assertNotNull (serviceResponse .getOutput ().getActions ().get (0 ).getResultVariable ());
176189 assertEquals (serviceResponse , mockResponse );
177190 }
178191
0 commit comments