expectedType = factory.getParameterizedType(Iterable.class, Integer.class);
ParameterizedTypeInfo context = factory.getParameterizedType(MyClass.class, Integer.class);
assertEquals(expectedType, resolvedIterableType.resolve(context));
assertEquals(expectedType, resolvedIterableType.resolve(context, true));
assertEquals(expectedType, resolvedIterableType.resolve(context, false));
// includeBaseType==true, Iterable<T=E> => Iterable<T=Number>
expectedType = factory.getParameterizedType(Iterable.class, Number.class);
assertEquals(expectedType, iterableType.resolve(listAType));