TPAdapter { public String getAnswerUrl() { return "http: }  static HashMap<String, String> dial(Map<String, String> addressNameMap, String dialogIdOrUrl,
        AdapterConfig config, String accountId, String senderName, String bearerToken); @Path("new") @POST @Produces("application/json") Response getNewDialogPost(@QueryParam("isTest") Boolean isTest, String json); @Path("answer") @POST @Produces("application/json") Response answer(String json); @Path("timeout") @POST @Produces("application/json") Response timeout(String json); @Path("cc") @POST Response receiveCCMessage(String json); void answered(String direction, String remoteID, String localID, String sessionKey); Response hangup(Session session); static Session updateSessionWithCallTimes(Session session, Call call); Return formQuestion(Question question, String adapterID, String address, String ddrRecordId,
                               Session session, Map<String, String> extraParams); String getAnswerUrl();  }
@Test public void renderCommentQuestionTest() throws Exception { Question question = getCommentQuestion( false ); AdapterConfig adapter = createTPAdapter(); Session session = createSession(adapter, remoteAddressVoice); String result = renderQuestion( question, adapter, session); StrowgerAction strowger = new StrowgerAction(); strowger.addAction( new Play( URI.create("http: strowger.addAction( new Include( URI.create(getAnswerUrl()) ) ); assertEquals( strowger.toJson(), result ); }