ass="p">))</span>  <span class="c1">// Kowalsky</span>
<span class="nf">print</span><span class="p">(</span><span class="n">mock</span><span class="o">.</span><span class="nf">surname</span><span class="p">(</span><span class="nv">for</span><span class="p">:</span> <span class="s">"Joanna"</span><span class="p">))</span>  <span class="c1">// Kowalsky</span>
</code></pre>

<p>In verions 3.0 we introduced sequences and policies for better control of mock behvaiour.</p>
<pre class="highlight swift"><code><span