public function testToString() { $this->entity->setName('test'); $this->assertEquals('test', $this->entity->__toString()); }