title: MockitoJUnitRunner is deprecated
body: <p>I'm trying to make a unit test with <code>@InjectMocks</code> and <code>@Mock</code>.</p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  public class ProblemDefinitionTest {
  
      @InjectMocks
      ProblemDefinition problemDefinition;
  
      @Mock
      Matrix matrixMock;    
  
      @Test
      public void sanityCheck() {
          Assert.assertNotNull(problemDefinition);
          Assert.assertNotNull(matrixMock);
      }
  }
  </code></pre>
  
  <p>When I don't include the <code>@RunWith</code> annotation, the test fails. But</p>
  
  <blockquote>
    <p>The type MockitoJUnitRunner is deprecated</p>
  </blockquote>
  
  <p>I'm using Mockito 2.6.9. How should I go about this?</p>