public function testSetOption()
{
$optName = 'option-name';
$optValue = 'option-value';
$opts = $this->getMock('\\Clinner\\ValueHolder');
$opts->expects($this->once())->method('set')->with($this->equalTo($optName), $this->equalTo($optValue));
$command = $this->getMockBuilder('\\Clinner\\Command\\Command')->disableOriginalConstructor()->setMethods(null)->getMock();
$this->_setPrivateProperty($command, '_options', $opts);
$response = $command->setOption($optName, $optValue);
$this->assertSame($command, $response);
}