@SuppressWarnings({ "rawtypes", "unchecked" })

@Test
public void testFunctionDependingOnInputAsSuperclass() {
	IdentityMapper<Boolean> function = new IdentityMapper<Boolean>() {
		private static final long serialVersionUID = 1L;
	};
	TypeInformation<?> ti = TypeExtractor.getMapReturnTypes(function, (TypeInformation) TypeInfoParser.parse("Boolean"));
	Assert.assertTrue(ti.isBasicType());
	Assert.assertEquals(BasicTypeInfo.BOOLEAN_TYPE_INFO, ti);
}