### Question:
CommonUtils { public static void loadKerberosConf() throws Exception { if (CommonUtils.getKerberosStartupState()) { System.setProperty(Constants.JAVA_SECURITY_KRB5_CONF, PropertyUtils.getString(Constants.JAVA_SECURITY_KRB5_CONF_PATH)); Configuration configuration = new Configuration(); configuration.set(Constants.HADOOP_SECURITY_AUTHENTICATION, Constants.KERBEROS); UserGroupInformation.setConfiguration(configuration); UserGroupInformation.loginUserFromKeytab(PropertyUtils.getString(Constants.LOGIN_USER_KEY_TAB_USERNAME), PropertyUtils.getString(Constants.LOGIN_USER_KEY_TAB_PATH)); } } private  CommonUtils(); static String getSystemEnvPath(); static boolean isDevelopMode(); static boolean getKerberosStartupState(); static void loadKerberosConf(); static String encodePassword(String password); static String decodePassword(String password);  }### Answer:
@Test public void loadKerberosConf(){ try { CommonUtils.loadKerberosConf(); Assert.assertTrue(true); } catch (Exception e) { Assert.fail("load Kerberos Conf failed"); } }