title: How to inject mock in parent class with Mockito?
body: <p>I'm using mockito to mock my services..</p>
  
  <p>How can I inject mocks in parent class?</p>
  
  <p>Sample:</p>
  
  <pre><code>public abstract class Parent(){
  
      @Mock
      Message message;
  
  }
  
  public class MyTest() extends Parent{
  
      @InjectMocks
      MyService myService //MyService has an instance of Message
  
      //When I put @Mock Message here it works
  }
  </code></pre>
  
  <p>When I run my tests the message in <code>Parent</code> stay <code>null</code></p>