@Test(expected = IllegalArgumentException.class) public void testPositivePortNumberTooBig() { testEntry.setPort(PORT_TOO_BIG); }
@Test(expected = IllegalArgumentException.class) public void testNegativePortNumber() { testEntry.setPort(NEGATIVE_PORT); }