title: How to assert array value but not strict?
body: <p>How can we assert <strong>some</strong> of the array's property values which contain the expected object values?</p>
  <p>My code below is working okay, but it checks all array property values. I want to ask if there's a way we can check only <strong>some</strong> of it.</p>
  <hr />
  <pre><code>$dataToBeTested = [
      'name' =&gt; 'Johnny',
      'address' =&gt; 'Somewhere',
      'age' =&gt; 21,
      'card_no' =&gt; 13331577121,
      'rep_no' =&gt; 441546661,
      'status' =&gt; 'in-progress',
      'created_at' =&gt; '2022-07-31T10:05:27.011000Z',
      'updated_at' =&gt; '2022-07-31T10:05:27.011000Z',
  ];
  
  $expectedPropValue = [
      'name' =&gt; 'Johnny',
      'address' =&gt; 'Somewhere',
      'age' =&gt; 21,
  ];
  </code></pre>
  <p>as expected it will return fail, since <code>expectedPropValue</code> has some missing properties.</p>
  <pre><code>$this-&gt;assertEquals($dataToBeTested, $expectedPropValue);
  </code></pre>
  <p>Goal is something like this,</p>
  <pre><code>$this-&gt;assertSomeOfIt($dataToBeTested, $expectedPropValue); // return true
  </code></pre>