@Test
public void createInetSocketAddressBadValues() {

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