an>

<span class="kt">XCTAssertNoThrow</span><span class="p">(</span><span class="k">try</span> <span class="n">mock</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="mi">200</span><span class="p">),</span> <span class="s">"Should not throw"</span><span class="p">)</span>
<span class="kt">XCTAssertThrowsError</span><span class="p">(</span><span class="k">try</span> <span class="n">mock</s