ode>whenComplete</code> can be used regardless of the suite type, i.e. it doesn&rsquo;t need to
be in an <code>AsyncState</code> suite. The async part of <code>AsyncState</code> allows for building the
test state asynchronously, but has nothing to do with the expectations used.</p>
</blockquote>
<h2 id="equality">Equality</h2>
<p>It is possible to define custom equality for a type. Consider the following example
from Intent&rsquo;s own test suite:</p>
<div class="highlight"><pre style="color:#f8f8f2;backgro