 <span class="kd">func</span> <span class="nf">stub</span><span class="p">(</span><span class="n">with</span> <span class="nv">stub</span><span class="p">:</span> <span class="kt"><a href="../Classes/APIStub.html">APIStub</a></span><span class="p">,</span> <span class="nv">delay</span><span class="p">:</span> <span class="kt">TimeInterval</span> <span class="o">=</span> <span class="mf">0.0</span><span class="p">,</span> <span class="nv">enabled</span><span class="p">:</span> <span class="kt">Bool</span> <s