span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">mock_client_and_association</span>(<span class="ruby-value">klass:</span> <span class="ruby-constant">Trello</span><span class="ruby-operator">::</span><span class="ruby-constant">FakeOrganization</span>, <span class="ruby-value">id:</span> <span class="ruby-value">1</span>, <span class="ruby-value">path:</span> <span class="ruby-keyword">nil</span>, <span class="ruby-value">id_field:</span> <span class="ruby-value">:id</sp