public function testToString() { $entity = new Collection(); $entity->setName('Test Name'); $this->assertEquals('Test Name', "{$entity}"); }