@Test
public void testGetISServiceRpcAddresses() throws Exception {

  Configuration conf = new HASConfiguration();
  conf.set(CommonConfigurationKeysPublic.HADOOP_SECURITY_IDENTITY_SERVER_RPC_ADDRESS_KEY, host + ":" + port);
  InetSocketAddress addr = HASUtils.getISServiceRpcAddresses(conf);
  assertEquals(addr.getHostName(), host);
  assertEquals(addr.getPort(), port);
}