public function testConstructWithEmptyData() { $collection = new Collection(); $this->assertEmpty($collection->getData()); $this->assertEquals(function () { }, $collection->getTransformer()); }