">
                <h1 id="stateful-tests">Stateful tests</h1>
<p>Not all tests can be implemented without setting the scene, still many test frameworks only focus
on a expressive way to assert expectations. For <code>Intent</code> state management is front and center.</p>
<p>Lets go straight to the code:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-scala" data-lang="scala"><span style="color:#66d9ef">class</spa