sage</h1>

<p><a name="mock-annotate"></a></p>
<h2 id='1-marking-protocols-to-be-mocked' class='heading'>1.Marking protocols to be mocked</h2>

<p>Create &lsquo;dummy&rsquo; protocol somewhere in your project, like: <code>protocol AutoMockable { }</code></p>

<p>Adopt it by every protocol you want to actually mock.</p>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">ToBeMocked</span><span class="p">:</span> <span class="kt">AutoMockable</span> <span class="p">{</span>
  