@Test(expected = IllegalArgumentException.class)
public void testPasswordNotSpecified() throws IllegalArgumentException {

  Map<String, String> configs = new HashMap<String, String>();
  configs.put("username", "hdfsuser");
  HdfsClient.validateConnectionConfigs(configs);
}