title: Using MockitoExtension in JUnit 5
body: <p>In the <a href="http://junit.org/junit5/docs/current/user-guide/" rel="nofollow noreferrer">JUnit 5 user guide</a> we can find a link to <a href="https://github.com/junit-team/junit5-samples/blob/r5.0.0-M4/junit5-mockito-extension/src/main/java/com/example/mockito/MockitoExtension.java" rel="nofollow noreferrer">MockitoExtension</a>, as an usage example of <code>TestInstancePostProcessor</code>, <code>ParameterResolver</code> (part of the <em>Extension API</em>).</p>
  
  <p>My doubt is about the real usage of Mockito in JUnit 5 (related to this other <a href="https://stackoverflow.com/questions/40961057/how-to-use-mockito-with-junit5">question</a>).</p>
  
  <ul>
  <li>As of now, is that <code>MockitoExtension</code> the recommended way to inject mocks within Jupiter tests?</li>
  <li>If so, should I include a copy of that class in my project and then use it? (not the best way I guess)</li>
  <li>Is there any plan to support an official Mockito extension for JUnit 5?</li>
  </ul>
  
  <p>Thank you so much!</p>