
<p>Protocol definition:</p>
<pre class="highlight swift"><code><span class="c1">//sourcery: AutoMockable</span>
<span class="kd">protocol</span> <span class="kt">ProtocolWithThrowingMethods</span> <span class="p">{</span>
    <span class="kd">func</span> <span class="nf">methodThatThrows</span><span class="p">()</span> <span class="k">throws</span>
    <span class="kd">func</span> <span class="nf">methodThatReturnsAndThrows</span><span class="p">(</span><span class="nv">param</span><span class="p">:</span>