@Test public void assertGetIp() { assertThat(new JobInstance().getIp(), is(IpUtils.getIp())); }
public String getIp() { return jobInstanceId.substring(0, jobInstanceId.indexOf(DELIMITER)); }
JobInstance { public String getIp() { return jobInstanceId.substring(0, jobInstanceId.indexOf(DELIMITER)); } }
JobInstance { public String getIp() { return jobInstanceId.substring(0, jobInstanceId.indexOf(DELIMITER)); } JobInstance(); }
JobInstance { public String getIp() { return jobInstanceId.substring(0, jobInstanceId.indexOf(DELIMITER)); } JobInstance(); String getIp(); }
JobInstance { public String getIp() { return jobInstanceId.substring(0, jobInstanceId.indexOf(DELIMITER)); } JobInstance(); String getIp();  }