Fix copy-n-paste error

This commit is contained in:
Sam Brannen
2025-02-07 18:26:26 +01:00
parent 9107f7b592
commit ba56c1a8f4

View File

@@ -42,7 +42,7 @@ public abstract class MockitoAssertions {
}
public static void assertIsNotMock(Object obj, String message) {
assertThat(isSpy(obj)).as("%s is a Mockito mock", message).isFalse();
assertThat(isMock(obj)).as("%s is a Mockito mock", message).isFalse();
}
public static void assertIsSpy(Object obj) {