Searched refs:cannotMockClass (Results 1 – 2 of 2) sorted by relevance
7 import static org.mockito.internal.exceptions.Reporter.cannotMockClass;24 throw cannotMockClass(classToMock, typeMockability.nonMockableReason()); in validateType()
455 public static MockitoException cannotMockClass(Class<?> clazz, String reason) { in cannotMockClass() method in Reporter