'bar', 'bar' => 'baz', 'baz' => 'qux', ]; $keys = Arr\keys($array); static::assertSameSize($keys, $array); static::assertSame($keys, array_keys($array)); foreach ($array as $key => $value) { static::assertTrue(Arr\contains($keys, $key)); } } }