title: Jasmine: Test if array contains an object element with certain property without custom matcher
body: <p>I have an array:</p>
  
  <pre><code>const dummyArr = [
      { name: "a", city: "c1" },
      { name: "b", city: "c2" },
      { name: "z", city: "c3" }
  ]
  </code></pre>
  
  <p>I need to write a jasmine test, to verify if an element exists in an array with property <code>name: b</code>.<br>
  Not sure if I can use <code>arrayContaining</code> or <code>objectContaining</code> here.</p>
  
  <p>Note: I need to verify this within <code>toHaveBeenCalledWith</code>  </p>
  
  <pre><code>expect(obj.setArray).toHaveBeenCalledWith("personalDetails", .......)
  </code></pre>