@Test public void getKeyFromTag() { String tag = this.questionObject.getTag(); String expectedValue = this.questionObject.getAnswerYes(); String actualValue = Answers.getAnswerMap().get(tag); assertEquals(expectedValue, actualValue); }
public static Map<String, String> getAnswerMap() { getInstance(); return answerMap; }
Answers { public static Map<String, String> getAnswerMap() { getInstance(); return answerMap; } }
Answers { public static Map<String, String> getAnswerMap() { getInstance(); return answerMap; } private  Answers(); }
Answers { public static Map<String, String> getAnswerMap() { getInstance(); return answerMap; } private  Answers(); static Map<String, String> getAnswerMap(); static void addAnswer(String question, String answer); static void clearAnswerList(); static void setPoiDetails(OsmObject osmObject); static long getPoiId(); static String getPoiName(); static String getPoiType(); static Map<String, String> getChangesetTags(); static void setChangesetTags(Map<String, String> changesetTags); }
Answers { public static Map<String, String> getAnswerMap() { getInstance(); return answerMap; } private  Answers(); static Map<String, String> getAnswerMap(); static void addAnswer(String question, String answer); static void clearAnswerList(); static void setPoiDetails(OsmObject osmObject); static long getPoiId(); static String getPoiName(); static String getPoiType(); static Map<String, String> getChangesetTags(); static void setChangesetTags(Map<String, String> changesetTags);  }