@Override
    public boolean isInstanceOf(String jobInstanceName, boolean ignoreCase, String jobConfigName) {
        String jobConfigNameWithMarker = translatedJobName(jobInstanceName, jobConfigName);
        return ignoreCase ? jobInstanceName.equalsIgnoreCase(jobConfigNameWithMarker) : jobInstanceName.equals(jobConfigNameWithMarker);
    }
@Test
	public void shouldTellIsInstanceOfCorrectly() throws Exception {
		assertThat(jobConfig.isInstanceOf("job-runInstance-1", false), is(true));
		assertThat(jobConfig.isInstanceOf("Job-runInstance-1", true), is(true));
		assertThat(jobConfig.isInstanceOf("Job-runInstance-1", false), is(false));
	}