public function testTransformer() { $result = array(1, 2, 4, 8); foreach ($this->sourceIterator as $key => $value) { $this->assertEquals(array($result[$key]), $value); } }