Miroslav Silhavy

Results 4 comments of Miroslav Silhavy

Test ``` package org.example; import org.junit.Test; import static org.mockito.Mockito.mock; public class EnumTest { @Test public void testEnumWithAbstractMethod() { mock(FooAbstract.class); // fails } @Test public void testEnumImplInterface() { mock(FooInterface.class); // fails...

I tried to run https://github.com/mockito/mockito/blob/main/subprojects/inline/src/test/java/org/mockitoinline/EnumMockingTest.java and wondered why it works in java 17. Turns out gradle config `java-library.gradle` forces compilation of the class with java 8, after changing this to...

> @mira-silhavy were you able to resolve this issue somehow? I'm facing the same. No, we had to find a workaround. I think it's because of enums are sealed in...

We have the same problem, updating to `3.4.1` from `3.4.0` and clean plugin is failing to delete files and throw `AccessDeniedException`. This should be a bug and not an enhancement...