Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/util/
DMockUtilTest.java86 Assertions.assertThat(MockUtil.typeMockabilityOf(FinalClass.class).mockable()) in should_know_if_type_is_mockable()
89 assertFalse(MockUtil.typeMockabilityOf(int.class).mockable()); in should_know_if_type_is_mockable()
91 assertTrue(MockUtil.typeMockabilityOf(SomeClass.class).mockable()); in should_know_if_type_is_mockable()
92 assertTrue(MockUtil.typeMockabilityOf(SomeInterface.class).mockable()); in should_know_if_type_is_mockable()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockCreationValidator.java22 TypeMockability typeMockability = MockUtil.typeMockabilityOf(classToMock); in validateType()
DMockUtil.java28 public static TypeMockability typeMockabilityOf(Class<?> type) { in typeMockabilityOf() method in MockUtil
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java53 import static org.mockito.internal.util.MockUtil.typeMockabilityOf;
60 return typeMockabilityOf(typeToMock).mockable(); in isTypeMockable()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java243 if(MockUtil.typeMockabilityOf(aClass).mockable()){