title: How to configure IntelliJ IDEA inspection "JUnit test method without any assertions" to work with jmockit's Verifications?
body: <p>I have this JUnit test:</p>
  
  <pre><code>@Test
  public void testExecuteReverseAcknowledgement(@Mocked final MessageDAO messageDAO)  {
      //...
  
      classUnderTest.execute(messageContext, actionContext);
  
      Verifications verifications = new Verifications() {{
              messageDAO.setAcknowledgement("APC");
          }};
  }
  </code></pre>
  
  <p>It works as needed, assertions are done in the Verifications block (<a href="http://jmockit.org/tutorial/Mocking.html#model" rel="nofollow noreferrer">http://jmockit.org/tutorial/Mocking.html#model</a>) </p>
  
  <p>Unfortunately, IntelliJ IDEA produces a warning: "Unit test method 'testExecuteReverseAcknowledgement()' contains no assertions". </p>
  
  <p>It is possible to configure this inspection and specify classes with methods that Intellij will consider as assertions:</p>
  
  <p><a href="https://i.stack.imgur.com/DnZKN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DnZKN.png" alt="IntelliJ inspections settings window"></a></p>
  
  <p>But I don't seem to be able to specify the mockit.Verifications() Constructor there. I've tried "mockit.Verifications" as class name and ".*", "new", "()" as method names.</p>
  
  <p>My question is, how can I specify Verifications class as assertion so that IntelliJ does not produce that warning?</p>