ame-example7-2-a-protocol-with-associated-types' class='heading'><a name="example7.2"></a> Protocol with associated types</h3>

<p>All mocks for protocols with associated types requires additional annotations - one per every associated type. The mock will be generated as generic class.</p>

<p>Protocol definition:</p>
<pre class="highlight swift"><code><span class="c1">//sourcery: AutoMockable</span>
<span class="c1">//sourcery: associatedtype = "T: Sequence"</span>
<span class="kd">protocol</span> <span cl