@Test
public void testMultivariateArffFileLoadingStringClass() throws TimeSeriesLoadingException {

	File datasetFile0 = new File(TSC_DATASET_PATH_PREFIX
			+ "multivariate" + File.separator + "FingerMovements" + File.separator
			+ "FingerMovementsDimension1_TRAIN.arff");
	File datasetFile1 = new File(TSC_DATASET_PATH_PREFIX
			+ "multivariate" + File.separator + "FingerMovements" + File.separator
			+ "FingerMovementsDimension2_TRAIN.arff");
	final Pair<TimeSeriesDataset2, ClassMapper> pairResult = SimplifiedTimeSeriesLoader.loadArffs(datasetFile0,
			datasetFile1);
	TimeSeriesDataset2 result = pairResult.getX();
	final int expectedNumInstances = 316;
	final int expectedNumSteps = 50;
	final int expectedNumVariables = 2; // Multivariate
	final int expectedNumTargets = 316;
	final List<String> expectedClassDomain = Arrays.asList("left", "right");
	assertEquals(expectedNumInstances, result.getNumberOfInstances());
	assertEquals(expectedNumSteps, result.getValues(0)[0].length);
	assertEquals(expectedNumVariables, result.getNumberOfVariables());
	assertEquals(expectedNumTargets, result.getTargets().length);
	assertEquals(expectedClassDomain, pairResult.getY().getClassValues());
}