@Test
public void the_thread_for_batch_3_should_only_run_tests_in_that_batch() throws InitializationError, InterruptedException {
MockEnvironmentVariables threadVariables = new MockEnvironmentVariables();
threadVariables.setProperty("thucydides.batch.count", "3");
threadVariables.setProperty("thucydides.batch.number", Integer.toString(3));
SystemVariableBasedBatchManager batchManager = new SystemVariableBasedBatchManager(threadVariables);
runTestCases(batchManager);
assertThat(executedTests.size(), is(2));