 class="nf">fulfill</span><span class="p">()</span>
    <span class="kt">XCTAssertTrue</span><span class="p">(</span><span class="n">success</span><span class="p">)</span>
    <span class="kt">XCTAssertNil</span><span class="p">(</span><span class="n">error</span><span class="p">)</span>
<span class="p">}</span>

<span class="nf">waitForExpectations</span><span class="p">(</span><span class="nv">timeout</span><span class="p">:</span> <span class="mf">0.5</span><span class="p">)</span> <span class="p">{</spa