@Test(expected = IndexOutOfBoundsException.class)
	public void testNotEnoughData() {
		List<long[]> data = new ArrayList<long[]>();
		data.add(new long[] {1, 2, 3, 4, 5});

		MetricUtils.concatArrays(data, 3, 3);
	}
Unit tests for the {@link MetricUtils} class.

@author Eric Bottard
spring-xd-analytics/src/test/java/org/springframework/xd/analytics/metrics/core/MetricUtilsTests.java