Searched refs:TypeMockability (Results 1 – 13 of 13) sorted by relevance
26 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in is_type_mockable_excludes_primitive_wrapper_classes()33 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()43 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allow_anonymous()50 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
204 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class()210 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported()223 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String()230 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class()237 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()249 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allows_anonymous()256 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()263 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Pattern.class); in is_type_mockable_give_allow_final_mockable_from_JDK()
116 TypeMockability isTypeMockable(Class<?> type); in isTypeMockable()124 interface TypeMockability { interface
16 import org.mockito.plugins.MockMaker.TypeMockability;22 TypeMockability typeMockability = MockUtil.typeMockabilityOf(classToMock); in validateType()
17 import org.mockito.plugins.MockMaker.TypeMockability;28 public static TypeMockability typeMockabilityOf(Class<?> type) { in typeMockabilityOf()
95 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()97 TypeMockability mockability = mockMaker.isTypeMockable(type); in isTypeMockable()
326 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()327 return new TypeMockability() { in isTypeMockable()
144 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()145 return new TypeMockability() { in isTypeMockable()
279 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()280 return new TypeMockability() { in isTypeMockable()
45 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()
133 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()134 return new TypeMockability() { in isTypeMockable()
184 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()186 return new TypeMockability() { in isTypeMockable()
53 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()