>
                <h2 id="manually-fail-or-succeed-a-test">Manually fail or succeed a test</h2>
<p>Two convenience methods exists where you can manually provide the the test expectation:</p>
<ul>
<li><code>fail(&quot;Reason for failure...&quot;)</code> to fail a test</li>
<li><code>success()</code> to pass a test</li>
</ul>
<h2 id="asyncness">Asyncness</h2>
<p>If you need to await the result of a <code>Future</code> before using a matcher, you can use
<code>whenComplete</code>:</p>
<div class="highlight"><p