woocommerce-paypal-payments/tests/PHPUnit/ApiClient/Repository/PayeeRepositoryTest.php
2022-02-09 16:28:27 +02:00

20 lines
538 B
PHP

<?php
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use WooCommerce\PayPalCommerce\TestCase;
class PayeeRepositoryTest extends TestCase
{
public function testDefault()
{
$merchantEmail = 'merchant_email';
$merchantId = 'merchant_id';
$testee = new PayeeRepository($merchantEmail, $merchantId);
$payee = $testee->payee();
$this->assertEquals($merchantId, $payee->merchant_id());
$this->assertEquals($merchantEmail, $payee->email());
}
}