/**
  * Returns previously recoded conflicts.
  *
  * @param string $wc_path   Working copy path.
  * @param array  $conflicts Conflicts.
  *
  * @return void
  */
 protected function setRecordedConflicts($wc_path, array $conflicts)
 {
     sort($conflicts, SORT_STRING);
     $this->commandConfig->setSettingValue(ConflictsCommand::SETTING_CONFLICTS_RECORDED_CONFLICTS, $this->conflictsCommand, $wc_path, $conflicts);
 }
 /**
  * @expectedException \LogicException
  * @expectedExceptionMessage The "sample-command" command does not have any settings.
  */
 public function testSetSettingToNonConfigAwareCommand()
 {
     $command = $this->prophesize('ConsoleHelpers\\SVNBuddy\\Command\\AbstractCommand');
     $command->getName()->willReturn('sample-command');
     $this->commandConfig->setSettingValue('sample_name', $command->reveal(), '', 'sample_value');
 }
 /**
  * Sets command setting value.
  *
  * @param string $name  Name.
  * @param mixed  $value Value.
  *
  * @return void
  */
 protected function setSetting($name, $value)
 {
     $this->_commandConfig->setSettingValue($name, $this, $this->getRawPath(), $value);
 }