@Test
public void testCreateFromString() throws Exception {

    Assert.assertEquals(new Host("somehost", 8080), Host.create("somehost:8080"));
    Assert.assertEquals(new Host("somehost", 1234), Host.create("somehost:1234"));
    Assert.assertEquals(new Host("somehost", 0), Host.create("somehost:0"));
}