Extension\NativeArrayTest::testArrayKeys PHP Method

testArrayKeys() public method

public testArrayKeys ( )
    public function testArrayKeys()
    {
        $t = new NativeArray();
        $this->assertSame($t->testArrayKeys(array('test1' => 1, 'test2' => 2, 'test3' => 3)), array('test1', 'test2', 'test3'));
        $this->assertSame($t->testArrayKeys(array(1, 2, 3, 4, 5, 6)), array(0, 1, 2, 3, 4, 5));
    }