PixManagerBean { public Map<String, String> getQueryIdMap() { return queryIdMap; }  String getAddMessage(); void setAddMessage(String addMessage); String getUpdateMessage(); void setUpdateMessage(String updateMessage); String getQueryMessage(); void setQueryMessage(String queryMessage); Map<String, String> getQueryIdMap(); void setQueryIdMap(Map<String, String> queryIdMap); boolean isSuccess(); void setSuccess(boolean isSuccess);  }
@Test public void testGetQueryIdMap() { Map<String, String> queryIdMap = new HashMap<String, String>(); queryIdMap.put("check","test"); cstl.setQueryIdMap(queryIdMap); assertEquals(queryIdMap.get("check"), cstl.getQueryIdMap().get("check")); }