Home
last modified time | relevance | path

Searched refs:genericMetadata (Results 1 – 1 of 1) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java53 …GenericMetadataSupport genericMetadata = inferFrom(GenericsSelfReference.class).resolveGenericRetu… in typeVariable_of_self_type() local
55 assertThat(genericMetadata.rawType()).isEqualTo(GenericsSelfReference.class); in typeVariable_of_self_type()
102 …GenericMetadataSupport genericMetadata = inferFrom(StringList.class).resolveGenericReturnType(firs… in typeVariable_return_type_of____iterator____resolved_to_Iterator_and_type_argument_to_String() local
104 assertThat(genericMetadata.rawType()).isEqualTo(Iterator.class); in typeVariable_return_type_of____iterator____resolved_to_Iterator_and_type_argument_to_String()
105 assertThat(genericMetadata.actualTypeArguments().values()).contains(String.class); in typeVariable_return_type_of____iterator____resolved_to_Iterator_and_type_argument_to_String()
110 …GenericMetadataSupport genericMetadata = inferFrom(GenericsNest.class).resolveGenericReturnType(fi… in typeVariable_return_type_of____get____resolved_to_Set_and_type_argument_to_Number() local
112 assertThat(genericMetadata.rawType()).isEqualTo(Set.class); in typeVariable_return_type_of____get____resolved_to_Set_and_type_argument_to_Number()
113 assertThat(genericMetadata.actualTypeArguments().values()).contains(Number.class); in typeVariable_return_type_of____get____resolved_to_Set_and_type_argument_to_Number()
118 …GenericMetadataSupport genericMetadata = inferFrom(GenericsNest.class).resolveGenericReturnType(fi… in bounded_typeVariable_return_type_of____returningK____resolved_to_Comparable_and_with_BoundedType() local
120 assertThat(genericMetadata.rawType()).isEqualTo(Comparable.class); in bounded_typeVariable_return_type_of____returningK____resolved_to_Comparable_and_with_BoundedType()
[all …]