Functional\Tests\ZipAllTest::testIterator PHP Method

testIterator() public method

public testIterator ( )
    public function testIterator()
    {
        $this->assertSame(['a' => [2, 4], 'b' => [3, 5]], zip_all(new \ArrayIterator(['a' => 2, 'b' => 3]), new \ArrayIterator(['a' => 4, 'b' => 5])));
    }