public function testSetOptionsWithArray()
{
$opts = array('some' => 'opt', 'another' => 'nifty option');
$command = $this->getMockBuilder('\\Clinner\\Command\\Command')->disableOriginalConstructor()->setMethods(null)->getMock();
$this->assertAttributeEmpty('_options', $command);
$response = $command->setOptions($opts);
$instanceValueHolder = $this->_getPrivateProperty($command, '_options');
$this->assertInstanceof('\\Clinner\\ValueHolder', $instanceValueHolder);
$this->assertAttributeEquals($opts, '_values', $instanceValueHolder);
$this->assertSame($command, $response);
}