I have a very simple test case that is using Mockito and Spring Test framework. When I do
when(pcUserService.read(\"1\")).thenReturn(pcUser);
For the help of others who stuck with the same problem;
The method you are trying to mock , pcUserService.read, is declared as a final method. Static methods appears to cause issues with Mockito.