for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPSC\PagSeguro\Purchases\Transactions;
class PaymentMethodTest extends \PHPUnit_Framework_TestCase
{
public function testRealCase01()
$paymentMethod = new PaymentMethod(1, 2);
$this->assertEquals(1, $paymentMethod->getType());
$this->assertEquals(2, $paymentMethod->getCode());
}