title: Using @MockBean always returns null
body: <p>I'm having trouble figuring out how to use the @MockBean annotation in Spring Boot 2.3.0. "user" always returns even though Mockito should have cought the function getCurrentUser.</p>
  
  <pre><code>    @MockBean   private AuthService authService;
  
      private User mockUser;
  
      @Test
          public void test() {
  
              Mockito.when(authService.getCurrentUser()).thenReturn(mockUser);
              User userTest = new User();
              mockUser = userTest;
              User user =authService.getCurrentUser();
          }
  </code></pre>