title: phpunit - how to merge 2 data providers
body: <p>I have 2 different data providers and i want to use the data from both the data providers for my testcase.</p>
  
  <p>I did an array merge in the dataProviders section as</p>
  
  <pre><code>  public function provider_data() {
  
      $data1 = $this-&gt;getData('home_data');
  
      $data2= $this-&gt;getData('data2');
  
     $newarray = array_merge($data1, $data2);
  
      return $newarray;
  }
  </code></pre>
  
  <p>But i see my test case is getting executed twice and i noticed that the test case actually executes for each array (Data1 and Data2) seperately though they were merged. What am i doing wrong here? How should i combine 2 data providers (Both the data providers have complete different format of the input data)</p>