public function testUnity() { $unity = 'pièce'; $this->assertSame($this->entity, $this->entity->setUnity($unity)); $this->assertSame($unity, $this->entity->getUnity()); }