We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9107f7b commit ba56c1aCopy full SHA for ba56c1a
spring-test/src/test/java/org/springframework/test/mockito/MockitoAssertions.java
@@ -42,7 +42,7 @@ public static void assertIsNotMock(Object obj) {
42
}
43
44
public static void assertIsNotMock(Object obj, String message) {
45
- assertThat(isSpy(obj)).as("%s is a Mockito mock", message).isFalse();
+ assertThat(isMock(obj)).as("%s is a Mockito mock", message).isFalse();
46
47
48
public static void assertIsSpy(Object obj) {
0 commit comments