public function testKeyValue() { $array = ['a' => 'b', 'c' => 'd', 'e' => 'f']; $this->assertSame(['b', 'd', 'f'], toArrayWithKeys(values($array))); $this->assertSame(['a', 'c', 'e'], toArrayWithKeys(keys($array))); }