public function testConstructor() { $this->assertNull($this->coll->find(5)); $t1 = $this->getTransformerMock(1); $t2 = $this->getTransformerMock(2); $coll = new Collection([$t1, $t2]); $this->assertSame($t2, $coll->find(2)); }