@Test(expected = IllegalArgumentException.class) public void testGetTarget_WithPingPortOutOfRange() { objectUnderTest.setPingPort(65535 + 1); }
public void setPingPort(Integer pingPort) { validatePingPort(pingPort); this.pingPort = pingPort; }
HealthCheckTarget { public void setPingPort(Integer pingPort) { validatePingPort(pingPort); this.pingPort = pingPort; } }
HealthCheckTarget { public void setPingPort(Integer pingPort) { validatePingPort(pingPort); this.pingPort = pingPort; }  }
HealthCheckTarget { public void setPingPort(Integer pingPort) { validatePingPort(pingPort); this.pingPort = pingPort; }  String getTarget(); String getPingPath(); void setPingPath(String pingPath); PingProtocol getPingProtocol(); void setPingProtocol(PingProtocol pingProtocol); Integer getPingPort(); void setPingPort(Integer pingPort); @Override String toString(); }
HealthCheckTarget { public void setPingPort(Integer pingPort) { validatePingPort(pingPort); this.pingPort = pingPort; }  String getTarget(); String getPingPath(); void setPingPath(String pingPath); PingProtocol getPingProtocol(); void setPingProtocol(PingProtocol pingProtocol); Integer getPingPort(); void setPingPort(Integer pingPort); @Override String toString();  }