>
<span class="n">mock2</span><span class="o">.</span><span class="n">param</span> <span class="o">=</span> <span class="mi">2</span>
<span class="n">mock2</span><span class="o">.</span><span class="n">other</span> <span class="o">=</span> <span class="s">"something"</span>
</code></pre>
<h2 id='a-name-example7-a-example-7' class='heading'><a name="example7"></a> Example 7:</h2>

<p>SwiftyMocky has support for generic protocols:</p>
<h3 id='a-name-example7-1-a-protocol-with-generic-methods' class='heading'>