public function test()
{
$this->assertSame(0, first_index_of($this->list, 'value1'));
$this->assertSame(0, first_index_of($this->listIterator, 'value1'));
$this->assertSame(1, first_index_of($this->list, 'value'));
$this->assertSame(1, first_index_of($this->listIterator, 'value'));
$this->assertSame(3, first_index_of($this->list, 'value2'));
$this->assertSame(3, first_index_of($this->listIterator, 'value2'));
$this->assertSame('k1', first_index_of($this->hash, 'val1'));
$this->assertSame('k1', first_index_of($this->hashIterator, 'val1'));
$this->assertSame('k2', first_index_of($this->hash, 'val2'));
$this->assertSame('k2', first_index_of($this->hashIterator, 'val2'));
$this->assertSame('k4', first_index_of($this->hash, 'val3'));
$this->assertSame('k4', first_index_of($this->hashIterator, 'val3'));
}