Exemplo n.º 1
0
 public function test_flip()
 {
     $data = new Collection(array('name' => 'genesis', 'plugin' => 'wpdc'));
     $this->assertEquals(array('genesis' => 'name', 'wpdc' => 'plugin'), $data->flip()->toArray());
 }