/** * @covers Yeriomin\Getopt\OptionDefinition::setLong */ public function testSetLong() { $this->assertEquals(null, $this->object->getLong(), '$long is expected to be null by default'); $this->object->setLong('abc'); $this->assertEquals('abc', $this->object->getLong()); }