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.
2 parents cf1d274 + ba56c1a commit a09f454Copy full SHA for a09f454
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