pan class="p">}</span>
</code></pre>

<p>Test - usage of <code>Given</code> and <code>Verify</code> constrained by optional parameter value:</p>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">mock</span> <span class="o">=</span> <span class="kt">SimpleProtocolWithMethodsMock</span><span class="p">()</span>

<span class="c1">// As String? is not recognized as Equatable, we need to register comparator on matcher</span>
<span class="n">mock</span><span class="o">.</span><span cl