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()
208 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class()214 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported()227 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String()234 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class()241 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()253 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allows_anonymous()260 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()267 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()
96 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()98 TypeMockability mockability = mockMaker.isTypeMockable(type); in isTypeMockable()
328 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()329 return new TypeMockability() { in isTypeMockable()
144 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()145 return new TypeMockability() { in isTypeMockable()
45 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()
290 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()291 return new TypeMockability() { in isTypeMockable()
185 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()187 return new TypeMockability() { in isTypeMockable()
133 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable()134 return new TypeMockability() { in isTypeMockable()
53 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable()