List<TestLabelable> expectedTraining = new ArrayList<TestLabelable>();
expectedTraining.addAll(originalItems.subList(0, 4));
expectedTraining.addAll(originalItems.subList(8, 12));
CrossValidationSplit instance = new CrossValidationSplit();
List<TestLabelable> training = instance.getTrainingForFold(originalItems, foldIndex, numFolds);
assertArrayEquals("Correct training set for middle fold", expectedTraining.toArray(), training.toArray());
}