PhpBench\Tests\Unit\Environment\InformationTest::testIterable PHP Method

testIterable() public method

It should be iterable.
public testIterable ( )
    public function testIterable()
    {
        $information = new Information('foo', ['bar' => 'bar', 'boo' => 'boo']);
        $result = [];
        foreach ($information as $key => $value) {
            $result[$key] = $value;
        }
        $this->assertEquals(['bar' => 'bar', 'boo' => 'boo'], $result);
    }