From 1ce8b7714b5939a3d6dfb60d2afa39d3ca7fa3dc Mon Sep 17 00:00:00 2001 From: Shivani Sharma Date: Sun, 30 Jun 2024 23:32:44 +1000 Subject: [PATCH] Try to debug issue where seeing very strange behaviour in code, where when we change the expected output to the actual generated output by including the static import, we get error that the type is missing or malformed. This looks like a bug in the framework. It seems to only occur when we add a second class in the before. --- .../testing/jmockit/JMockitVerificationsToMockitoTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java b/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java index e35a506a6..4b37490e3 100644 --- a/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java +++ b/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java @@ -238,9 +238,7 @@ void test() { """ import java.util.ArrayList; import java.util.List; - - import static org.mockito.Mockito.*; - + import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension;