rcery: AutoMockable</span>
<span class="kd">protocol</span> <span class="kt">ToBeMocked</span> <span class="p">{</span>
  <span class="c1">// ...</span>
<span class="p">}</span>
</code></pre>

<p>Every protocol in source directories, having this annotation, will be added to <code>Mock.generated.swift</code></p>

<p>@objc protocols are also supported, but needs to be explicity marked with ObjcProtocol annotation:</p>
<pre class="highlight swift"><code><span class="c1">//sourcery: AutoMockable</span>
<span cl