for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\Payments\Tests\Gateways\Providers\PlatiOnline\Message;
use ByTIC\Payments\Gateways\Providers\PlatiOnline\Message\CompletePurchaseRequest;
use ByTIC\Payments\Gateways\Providers\PlatiOnline\Message\CompletePurchaseResponse;
use ByTIC\Payments\Tests\AbstractTest;
use ByTIC\Payments\Tests\Gateways\Providers\AbstractGateway\Message\CompletePurchaseResponseTestTrait;
use Symfony\Component\HttpFoundation\Request;
/**
* Class CompletePurchaseResponseTest
* @package ByTIC\Payments\Tests\Gateways\Providers\PlatiOnline\Message
*/
class CompletePurchaseResponseTest extends AbstractTest
{
use CompletePurchaseResponseTestTrait;
protected function getNewResponse(): CompletePurchaseResponse
$request = new CompletePurchaseRequest($this->client, new Request());
return new CompletePurchaseResponse($request, []);
}