title: org.mockito.exceptions.misusing.NotAMockException on InjectMocks object
body: <p>I'm trying to mock the return value from a method but I'm getting <code>NotAMockException</code>.</p>
  
  <pre><code>@InjectMocks
  private MyService myService;
  @Mock
  private OtherServiceUsedInMyServiceAsAutowired otherServiceUsedInMyServiceAsAutowired;
  </code></pre>
  
  <p>Inside <code>MyService</code> I have a method called <code>myMethod()</code> and I want to return dummy object when this method is called.</p>
  
  <pre><code>doReturn(someDummyObject).when(myService).myMethod(any(), any(), any());
  </code></pre>
  
  <p>And at that point I'm getting the error. What am I doing wrong? Full error:</p>
  
  <pre><code>org.mockito.exceptions.misusing.NotAMockException: 
  Argument passed to when() is not a mock!
  Example of correct stubbing:
      doThrow(new RuntimeException()).when(mock).someMethod();
  </code></pre>