/**
  * @param array $options
  * @param string $expectedUrl
  * @dataProvider optionsDataProvider
  */
 public function testExecute(array $options, $expectedUrl)
 {
     if (!empty($options['route'])) {
     }
     $context = new ItemStub();
     $this->action->initialize($options);
     $this->action->execute($context);
     $urlProperty = self::REDIRECT_PATH;
     $this->assertEquals($expectedUrl, $context->{$urlProperty});
 }
 /**
  * {@inheritDoc}
  */
 public function setCondition(ConditionInterface $condition)
 {
     $this->redirectAction->setCondition($condition);
 }