@Test
public void testAddPortPresent() throws Exception {

  String normalized = ConfigurationBuilder.addPortIfMissing("webhdfs://namenode.example.com:50070");
  assertEquals(normalized, "webhdfs://namenode.example.com:50070");
}