public function shouldSkipAndLimitItems()
{
//given
$iterator = new \ArrayIterator(array(1, 2, 3, 4, 5));
//when
$result = FluentIterator::from($iterator)->skip(1)->limit(2);
//then
$this->assertEquals(array(2, 3), array_values($result->toArray()));
}