@SuppressWarnings("unused")
public Stream<List<@GraphQLNonNull String>> streamMethod() { return null;};
@Test</BUG>
public void list() throws NoSuchMethodException {
DefaultTypeFunction instance = new DefaultTypeFunction();
<BUG>graphql.schema.GraphQLType type = instance.apply(getClass().getMethod("listMethod").getReturnType(), (AnnotatedParameterizedType) getClass().getMethod("listMethod").getAnnotatedReturnType());
assertTrue(type instanceof GraphQLList);</BUG>
GraphQLList subtype = (GraphQLList) ((GraphQLList) type).getWrappedType();
assertTrue(subtype.getWrappedType() instanceof graphql.schema.GraphQLNonNull);
graphql.schema.GraphQLNonNull wrappedType = (graphql.schema.GraphQLNonNull) subtype.getWrappedType();

@SuppressWarnings("unused")
public List<List<@GraphQLNonNull String>> listMethod() { return null;}
@SuppressWarnings("unused")
public Stream<List<@GraphQLNonNull String>> streamMethod() { return null;}
@Test
public void list() throws NoSuchMethodException {
DefaultTypeFunction instance = new DefaultTypeFunction();
graphql.schema.GraphQLType type = instance.apply(getClass().getMethod("listMethod").getReturnType(), getClass().getMethod("listMethod").getAnnotatedReturnType());
assertTrue(type instanceof GraphQLList);
GraphQLList subtype = (GraphQLList) ((GraphQLList) type).getWrappedType();
assertTrue(subtype.getWrappedType() instanceof graphql.schema.GraphQLNonNull);
graphql.schema.GraphQLNonNull wrappedType = (graphql.schema.GraphQLNonNull) subtype.getWrappedType();
