Searched refs:typeMockabilityOf (Results 1 – 5 of 5) sorted by relevance
86 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()
22 TypeMockability typeMockability = MockUtil.typeMockabilityOf(classToMock); in validateType()
28 public static TypeMockability typeMockabilityOf(Class<?> type) { in typeMockabilityOf() method in MockUtil
53 import static org.mockito.internal.util.MockUtil.typeMockabilityOf;60 return typeMockabilityOf(typeToMock).mockable(); in isTypeMockable()
243 if(MockUtil.typeMockabilityOf(aClass).mockable()){