@Test
public void testSubstituteForWildcardAddress() throws IOException {

  assertEquals("foo:12345",
      DFSUtil.substituteForWildcardAddress("0.0.0.0:12345", "foo"));
  assertEquals("127.0.0.1:12345",
      DFSUtil.substituteForWildcardAddress("127.0.0.1:12345", "foo"));
}