thodThatTakesUser</span><span class="p">(</span><span class="nv">user</span><span class="p">:</span> <span class="n">user2</span><span class="p">))</span>
<span class="kt">XCTAssertEqual</span><span class="p">(</span><span class="n">mock</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="p">[</span><span class="n">user1</span><span class="p">,</span> <span class="n">user2</span><span clas