@Test public void testGetTarget() { objectUnderTest.setPingPath("/ping/path"); objectUnderTest.setPingPort(2000); objectUnderTest.setPingProtocol(HealthCheckTarget.PingProtocol.HTTPS); Assert.assertEquals(objectUnderTest.getTarget(), "HTTPS:2000/ping/path"); }
public String getTarget() { return getPingProtocol() + ":" + pingPort + getPingPath(); }
HealthCheckTarget { public String getTarget() { return getPingProtocol() + ":" + pingPort + getPingPath(); } }
HealthCheckTarget { public String getTarget() { return getPingProtocol() + ":" + pingPort + getPingPath(); }  }
HealthCheckTarget { public String getTarget() { return getPingProtocol() + ":" + pingPort + getPingPath(); }  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 String getTarget() { return getPingProtocol() + ":" + pingPort + getPingPath(); }  String getTarget(); String getPingPath(); void setPingPath(String pingPath); PingProtocol getPingProtocol(); void setPingProtocol(PingProtocol pingProtocol); Integer getPingPort(); void setPingPort(Integer pingPort); @Override String toString();  }