for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace SlevomatCsobGateway;
use PHPUnit\Framework\TestCase;
class PriceTest extends TestCase
{
public function testGetters(): void
$cartItem = new Price(123, Currency::get(Currency::USD));
self::assertSame(123, $cartItem->getAmount());
self::assertSame(Currency::USD, $cartItem->getCurrency()->getValue());
}