@Test
public void testFitBatchTable() {

	Long id = MLEnvironmentFactory.getNewMLEnvironmentId();
	MLEnvironment env = MLEnvironmentFactory.get(id);
	DataSet<Integer> input = env.getExecutionEnvironment().fromElements(1, 2, 3);
	Table table = env.getBatchTableEnvironment().fromDataSet(input);
	FakeTransFormer transFormer = new FakeTransFormer();
	transFormer.setMLEnvironmentId(id);
	transFormer.transform(env.getBatchTableEnvironment(), table);
	Assert.assertTrue(transFormer.batchTransformed);
	Assert.assertFalse(transFormer.streamTransformed);
}