title: cannot resolve symbol 'assertDoesNotThrow'
body: <p>I have some problem with In <code>intellij</code>. I try to import the following library:</p>
  
  <pre><code>import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
  import static org.junit.jupiter.api.Assertions.assertEquals;
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>cannot resolve symbol 'assertDoesNotThrow'
  </code></pre>
  
  <p>But I don't get errors for <code>assertEquals</code>. </p>
  
  <p>The use:</p>
  
  <pre><code>assertDoesNotThrow(() -&gt; r1.rate(new Pro(1, "xyz"), 0));
  assertDoesNotThrow(() -&gt; r1.rate(new Pro(1, "xyz"), 5));
  </code></pre>
  
  <p>I guess this is some problem with <code>JUInt</code>, but I can't seem to find the solution. I have tried some previous threads but without success.</p>