title: Method equivalent for @InjectMocks
body: <p>What is method equivalent for the following: </p>
  
  <pre><code>@Mock
  MyType1 myType1;
  
  @Autowired
  @InjectMocks
  MyType2 myType2;
  </code></pre>
  
  <p>I can replace <code>@Mock</code> with <code>mock(MyType1.class)</code>.   </p>
  
  <p>But how can I replace <code>@InjectMocks</code> with a method call? Something like this:</p>
  
  <pre><code>injectMocks(MyType2.class)
  </code></pre>