public function testIsNotEmpty() { $e1 = new Entity(['id' => 1]); $e2 = new Entity(['id' => 2]); $collection = new Collection([$e1, $e2]); $this->assertTrue($collection->isNotEmpty()); }