@Test
public void testReserveTwoCol() throws Exception {

	TableSchema schema = new TableSchema(new String[] {"c0", "c1"},
		new TypeInformation <?>[] {Types.STRING, Types.STRING});
	TableSchema outSchema = new TableSchema(new String[] {"c0", "c1", "out"},
		new TypeInformation <?>[] {Types.STRING, Types.STRING, VectorTypes.VECTOR});
	Params params = new Params()
		.set(VectorInteractionParams.SELECTED_COLS, new String[] {"c0", "c1"})
		.set(VectorInteractionParams.OUTPUT_COL, "out");
	VectorInteractionMapper mapper = new VectorInteractionMapper(schema, params);
	assertEquals(mapper.map(Row.of(new DenseVector(new double[]{3.0, 4.0}), new DenseVector(new double[]{3.0, 4.0})))
			.getField(2), new DenseVector(new double[]{9.0, 12.0, 12.0, 16.0}));
	assertEquals(mapper.getOutputSchema(), outSchema);
}