/**
  * @test
  */
 public function shouldLogRedirectUrlInteractiveRequestWithUrlIncludedOnInteractiveRequest()
 {
     $action = new FooAction();
     $interactiveRequest = new RedirectUrlInteractiveRequest('http://example.com');
     $logger = $this->createLoggerMock();
     $logger->expects($this->at(0))->method('debug')->with('[Payum] 1# FooAction::execute(string) throws interactive RedirectUrlInteractiveRequest{url: ' . $interactiveRequest->getUrl() . '}');
     $extension = new LogExecutedActionsExtension($logger);
     $extension->onPreExecute('string');
     $extension->onInteractiveRequest($interactiveRequest, 'string', $action);
 }
 /**
  * @test
  */
 public function shouldAllowGetUrlSetInConstructor()
 {
     $expectedUrl = 'theUrl';
     $request = new RedirectUrlInteractiveRequest($expectedUrl);
     $this->assertEquals($expectedUrl, $request->getUrl());
 }