@Test
public void testFunctionDependingOnInputFromInput() {

	IdentityMapper<Boolean> function = new IdentityMapper<Boolean>();
	TypeInformation<?> ti = TypeExtractor.getMapReturnTypes(function, BasicTypeInfo.BOOLEAN_TYPE_INFO);
	Assert.assertTrue(ti.isBasicType());
	Assert.assertEquals(BasicTypeInfo.BOOLEAN_TYPE_INFO, ti);
}