@Test
public void testEitherTypeInEquality() {

	EitherTypeInfo<Integer, String> eitherInfo1 = new EitherTypeInfo<Integer, String>(
			BasicTypeInfo.INT_TYPE_INFO, BasicTypeInfo.STRING_TYPE_INFO);
	EitherTypeInfo<Integer, Tuple2<Double, Long>> eitherInfo2 = new EitherTypeInfo<Integer, Tuple2<Double, Long>>(
			BasicTypeInfo.INT_TYPE_INFO, new TupleTypeInfo<Tuple2<Double, Long>>(
			TypeExtractor.getForClass(Double.class), TypeExtractor.getForClass(String.class)));
	assertNotEquals(eitherInfo1, eitherInfo2);
	assertNotEquals(eitherInfo1.hashCode(), eitherInfo2.hashCode());
}