Skip to content

Commit a09f454

Browse files
committed
Merge branch '6.2.x'
2 parents cf1d274 + ba56c1a commit a09f454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-test/src/test/java/org/springframework/test/mockito/MockitoAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void assertIsNotMock(Object obj) {
4242
}
4343

4444
public static void assertIsNotMock(Object obj, String message) {
45-
assertThat(isSpy(obj)).as("%s is a Mockito mock", message).isFalse();
45+
assertThat(isMock(obj)).as("%s is a Mockito mock", message).isFalse();
4646
}
4747

4848
public static void assertIsSpy(Object obj) {

0 commit comments

Comments
 (0)