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

@Test
public void testFunctionWithNoGenericSuperclass() {
	RichMapFunction<?, ?> function = new Mapper2();
	TypeInformation<?> ti = TypeExtractor.getMapReturnTypes(function, (TypeInformation) TypeInfoParser.parse("String"));
	Assert.assertTrue(ti.isBasicType());
	Assert.assertEquals(BasicTypeInfo.STRING_TYPE_INFO, ti);
}