public function testValidAdd() { $entity = new TestEntity(); $collection = $entity->newCollection(); $collection->add($entity); $this->assertInstanceOf(TestEntity::class, $collection->first()); }