">(</span><span class="n">mock</span><span class="p">,</span> <span class="o">.</span><span class="nf">methodThatReturnsAndThrows</span><span class="p">(</span><span class="nv">param</span><span class="p">:</span> <span class="o">.</span><span class="nf">value</span><span class="p">(</span><span class="mi">404</span><span class="p">),</span> <span class="nv">willThrow</span><span class="p">:</span> <span class="kt">SimpleTestError</span><span class="o">.</span><span class="n">failure</span><span class="p">)