diff --git a/src/test/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockitoTest.java b/src/test/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockitoTest.java index 9712a1e19..b934947f1 100644 --- a/src/test/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockitoTest.java +++ b/src/test/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockitoTest.java @@ -1375,7 +1375,7 @@ void test() { myObject.wait(1L); myObject.wait(); verify(myObject).wait(anyLong()); - verify(myObject).wait(); + verify(myObject).wait(); } } """ 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 b0e16c01e..12dd4d7bd 100644 --- a/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java +++ b/src/test/java/org/openrewrite/java/testing/jmockit/JMockitVerificationsToMockitoTest.java @@ -60,7 +60,7 @@ class MyTest { Object myObject; void test() { - myObject.wait(10L, 10); + myObject.wait(10L, 10); new Verifications() {{ myObject.wait(anyLong, anyInt); }}; @@ -110,7 +110,7 @@ void test() { myObject.wait(10L, 10); new Verifications() {{ myObject.wait(); - }}; + }}; } } """, @@ -176,7 +176,7 @@ void test() { new Verifications() {{ myObject.getSomeField((List) any); myObject.getSomeOtherField((Object) any); - }}; + }}; } } """, @@ -295,7 +295,7 @@ void test() { myObject.getSomeField("foo", "bar", bazz, 10L); new Verifications() {{ myObject.getSomeField("foo", anyString, bazz, 10L); - }}; + }}; } } """, @@ -360,7 +360,7 @@ void test() { myObject.getSomeField("foo"); myObject.getString(); new Verifications() {{ - myObject.getSomeField(anyString); + myObject.getSomeField(anyString); myObject.getString(); }}; } @@ -380,10 +380,10 @@ class MyTest { void test() { String a = "a"; - String s = "s"; + String s = "s"; myObject.getSomeField("foo"); myObject.getString(); - verify(myObject).getSomeField(anyString()); + verify(myObject).getSomeField(anyString()); verify(myObject).getString(); } } @@ -418,11 +418,11 @@ class MyTest { MyObject myObject; void test() { - String a = "a"; + String a = "a"; myObject.getSomeField("foo"); new Verifications() {{ myObject.getSomeField(anyString); - }}; + }}; } } """, @@ -474,7 +474,7 @@ void test() { new Verifications() {{ myObject.wait(anyLong, anyInt); times = 3; - }}; + }}; } } """, @@ -690,7 +690,7 @@ void test() { myOtherObject.getSomeObjectField(); myObject.wait(anyLong, anyInt); myOtherObject.getSomeStringField(anyString, anyLong); - }}; + }}; } } """, @@ -743,7 +743,7 @@ class MyTest { void test() { myObject.wait(); - new Verifications() {{ + new Verifications() {{ myObject.wait();