@Test
	public void checkThatStepNamesAreUpdated() throws Exception {
		JdbcTemplate jdbcTemplate = new JdbcTemplate(source);
		jobLocator.addStepNames(SIMPLE_JOB_NAME, job.getStepNames());
		int count = jdbcTemplate.queryForObject(
				"select count(*) from XD_JOB_REGISTRY_STEP_NAMES  WHERE JOB_NAME = ?", Integer.class, job.getName()).intValue();
		assertEquals("The number of step names returned from hsqldb did not match.", 2, count);
	}
Tests for Batch Job Repository.

@author Glenn Renfro
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/plugins/job/JobRepoTests.java