Example #1
0
 /**
  * @test
  */
 public function getActualByKeysCollection()
 {
     $sample = [['A' => 'a', 'B' => 'a'], ['A' => 'b', 'B' => 'b'], ['A' => 'c', 'B' => 'c']];
     $response = new Response($sample);
     $actual = $response->getActualByKeys();
     $this->assertEquals(['collection'], $actual->keys());
     $this->assertEquals(['A', 'B'], $actual->collection->keys());
 }