title: How to replace WireMock @Rule annotation in JUnit 5?
body: <p>I'm using WireMock in my tests and have such a line of code:</p>
  <pre><code>@Rule
  public WireMockRule wireMockRule = new WireMockRule(8080);
  </code></pre>
  <p>I want to switch to JUnit 5. So I added the next dependency (using Gradle):</p>
  <pre><code>testCompile('org.junit.jupiter:junit-jupiter-engine:5.1.1')
  </code></pre>
  <p>But there are no suggestions when I'm trying to import <code>@Rule</code> annotation.</p>
  <p>Do I need to add another module of JUnit dependency? Or are rules not supported in JUnit 5? If not, how can I replace <code>@Rule</code> annotation to make tests work again?</p>