public function shouldCaptureWithCreditCardSetExplicitly()
{
$api = $this->createAuthorizeNetAIMMock();
$api->expects($this->once())->method('authorizeAndCapture')->will($this->returnValue($this->createAuthorizeNetAIMResponseMock()));
$gatewayMock = $this->createGatewayMock();
$gatewayMock->expects($this->never())->method('execute');
$action = new CaptureAction();
$action->setApi($api);
$action->setGateway($gatewayMock);
$action->execute(new Capture(array('amount' => 10, 'card_num' => '1234567812345678', 'exp_date' => '10/16')));
}