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