mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
22 lines
617 B
PHP
22 lines
617 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
|
|
|
|
use WooCommerce\PayPalCommerce\ApiClient\Config\Config;
|
|
use WooCommerce\PayPalCommerce\ApiClient\TestCase;
|
|
use Mockery;
|
|
|
|
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());
|
|
}
|
|
}
|