@SuppressWarnings("javadoc")
@Test
public final void testConcat() {

	// Create two arrays and concatenate them, then test that the result is
	// in the expected order
	Integer[] first = new Integer[] { Integer.valueOf(1),
			Integer.valueOf(2), Integer.valueOf(3) };
	Integer[] second = new Integer[] { Integer.valueOf(4),
			Integer.valueOf(5), Integer.valueOf(6) };
	Integer[] concatRes = TikaResourceHelper.concat(first, second);
	Integer counter = Integer.valueOf(0);
	for (Integer frmRes : concatRes) {
		assertTrue("Expected elements in order, frmRes:" + frmRes
				+ " <= counter:" + counter, frmRes > counter);
		counter++;
	}
}