/** * @covers Yeriomin\Getopt\OptionDefinition::setDescription */ public function testSetDescription() { $this->assertEquals('', $this->object->getDescription(), '$description is expected to be an empty string by default'); $this->object->setDescription('abc абв'); $this->assertEquals('abc абв', $this->object->getDescription()); }