@Test
public void createUnresolvedBadValues() {

	assertThatExceptionOfType(NullPointerException.class)
			.isThrownBy(() -> AddressUtils.createUnresolved(null, 0))
			.withMessage("hostname");
	assertThatExceptionOfType(IllegalArgumentException.class)
			.isThrownBy(() -> AddressUtils.createUnresolved("hostname", -1))
			.withMessage("port out of range:-1");
}