/**
  * @test
  */
 public function shouldLogExceptionWhenSetButActionNotSetOnPostExecute()
 {
     $logger = $this->createLoggerMock();
     $logger->expects($this->at(0))->method('debug')->with('[Payum] 1# Gateway::execute(string) throws exception LogicException');
     $extension = new LogExecutedActionsExtension($logger);
     $context = new Context($this->createGatewayMock(), 'string', array());
     $context->setException(new \LogicException());
     $extension->onPostExecute($context);
 }