n><span class="p">,</span> <span class="o">.</span><span class="nf">methodThatTakesArrayOfUsers</span><span class="p">(</span><span class="nv">array</span><span class="p">:</span> <span class="o">.</span><span class="nf">value</span><span class="p">([</span><span class="n">user1</span><span class="p">,</span> <span class="n">user2</span><span class="p">]),</span> <span class="nv">willReturn</span><span class="p">:</span> <span class="mi">2</span><span class="p">))</span>

<span class="kt">XCTAssertNoThrow</