for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SlevomatCsobGateway\Call;
use DateTimeImmutable;
class PaymentResponseTest extends \PHPUnit_Framework_TestCase
{
public function testMerchantData()
$paymentResponse = new PaymentResponse(
'123',
new DateTimeImmutable(),
new ResultCode(ResultCode::C0_OK),
'foo message',
null,
'merchant data'
);
$this->assertSame('merchant data', $paymentResponse->getMerchantData());
}