### Question:
SensitiveLogUtils { public static String maskDataSourcePwd(String dataSourcePwd) { if (StringUtils.isNotEmpty(dataSourcePwd)) { dataSourcePwd = Constants.PASSWORD_DEFAULT; } return dataSourcePwd; } private  SensitiveLogUtils(); static String maskDataSourcePwd(String dataSourcePwd);  }### Answer:
@Test public void testMaskDataSourcePwd() { String password = "123456"; String emptyPassword = ""; Assert.assertEquals(Constants.PASSWORD_DEFAULT, SensitiveLogUtils.maskDataSourcePwd(password)); Assert.assertEquals("", SensitiveLogUtils.maskDataSourcePwd(emptyPassword)); }