function it_should_do_status_subrequest_with_payment_details_as_model(PaymentInterface $payment, GetStatusInterface $statusRequest, PayumPaymentInterface $payment)
 {
     $details = array('foo' => 'foo', 'bar' => 'baz');
     $statusRequest->getModel()->willReturn($payment);
     $statusRequest->setModel($details)->shouldBeCalled();
     $statusRequest->setModel($payment)->shouldBeCalled();
     $payment->execute($statusRequest)->shouldBeCalled();
     $payment->getDetails()->willReturn($details);
     $this->setPayment($payment);
     $this->execute($statusRequest);
 }