### Question:
Wenku8API { static Map<String, String> getEncryptedMAP(String str) { Map<String, String> params = new HashMap<>(); params.put("appver=" + BuildConfig.VERSION_NAME + "&request", LightBase64.EncodeBase64(str) + "&timetoken=" + System.currentTimeMillis()); return params; }  static String getCoverURL(int aid); static STATUS getSTATUSByInt(int i); static STATUS getSTATUSByString(String s); static String getStatusBySTATUS(STATUS s); static NOVELSORTBY getNOVELSORTBY(String n); static String getNOVELSORTBY(NOVELSORTBY n); static int getNOVELSORTBY_ChsId(NOVELSORTBY n); static int getErrorInfo_ResId(int errNo); static ContentValues getNovelCover(int aid); static ContentValues getNovelShortInfo(int aid, LANG l); static ContentValues getNovelShortInfoUpdate_CV(int aid, LANG l); static ContentValues getNovelFullIntro(int aid, LANG l); static ContentValues getNovelFullMeta(int aid, LANG l); static ContentValues getNovelIndex(int aid, LANG l); static ContentValues getNovelContent(int aid, int cid, LANG l); static ContentValues searchNovelByNovelName(String novelName, LANG l); static ContentValues searchNovelByAuthorName(String authorName,
                                                        LANG l); static ContentValues getNovelList(NOVELSORTBY n, int page); static ContentValues getNovelListWithInfo(NOVELSORTBY n, int page, LANG l); static ContentValues getLibraryList(); static ContentValues getNovelListByLibrary(int sortId, int page); static ContentValues getNovelListByLibraryWithInfo(int sortId,
                                                              int page, LANG l); static ContentValues getUserLoginParams(String username, String password); static ContentValues getUserAvatar( ); static ContentValues getUserLogoutParams( ); static ContentValues getUserInfoParams( ); static ContentValues getUserSignParams( ); static ContentValues getVoteNovelParams(int aid); static ContentValues getBookshelfListAid(LANG l); static ContentValues getBookshelfListParams(LANG l); static ContentValues getAddToBookshelfParams(int aid); static ContentValues getDelFromBookshelfParams(int aid); @Nullable static String searchBadWords(String source); static ContentValues getCommentListParams(int aid, int page); static ContentValues getCommentContentParams(int rid, int page); static ContentValues getCommentNewThreadParams(int aid, String title, String content); static ContentValues getCommentReplyParams(int rid, String content); static String NoticeString; static final String REGISTER_URL; static final String BASE_URL; static final int MIN_REPLY_TEXT; }### Answer:
@Test public void testGetEncryptedMAP() { final String str = "test"; Map<String, String> map = Wenku8API.getEncryptedMAP(str); Assert.assertEquals(map.size(), 1); Assert.assertEquals(map.get("request"), LightBase64.EncodeBase64(str + "&timetoken=" + CURRENT_TIME)); }