@Test
public void testBasicArray2() {

	RichMapFunction<Boolean[], ?> function = new IdentityMapper<Boolean[]>();
	TypeInformation<?> ti = TypeExtractor.getMapReturnTypes(function, BasicArrayTypeInfo.BOOLEAN_ARRAY_TYPE_INFO);
	Assert.assertTrue(ti instanceof BasicArrayTypeInfo<?, ?>);
	BasicArrayTypeInfo<?, ?> bati = (BasicArrayTypeInfo<?, ?>) ti;
	Assert.assertTrue(bati.getComponentInfo().isBasicType());
	Assert.assertEquals(BasicTypeInfo.BOOLEAN_TYPE_INFO, bati.getComponentInfo());
}