### Question:
CheckUtils { public static boolean checkPassword(String password) { return StringUtils.isNotEmpty(password) && password.length() >= 2 && password.length() <= 20; } private  CheckUtils(); static boolean checkUserName(String userName); static boolean checkEmail(String email); static Map<String, Object> checkDesc(String desc); static boolean checkOtherParams(String otherParams); static boolean checkPassword(String password); static boolean checkPhone(String phone); static boolean checkTaskNodeParameters(String parameter, String taskType); static boolean checkUserParams(String userName, String password, String email, String phone);  }### Answer:
@Test public void testCheckPassword() { assertFalse(CheckUtils.checkPassword(null)); assertFalse(CheckUtils.checkPassword("a")); assertFalse(CheckUtils.checkPassword("1234567890abcderfasdf2")); assertTrue(CheckUtils.checkPassword("123456")); }