So I started writing tests for our Java-Spring-project.
What I use is JUnit and Mockito. It\'s said, that when I use the when()...thenReturn() option I can mock ser
In my case it was due to wrong import of the @Test annotation
Make sure you are using the following import
import org.junit.jupiter.api.Test;