public function setUp() { $configuration = new Configuration(); $configuration->setMerchantId('MY_MERCHANT_01')->setSecretKey('SECRET_KEY')->setPaymentEndpointUrl('https://secure.payu.com.tr/order/alu/v3')->setLoyaltyInquiryEndPointUrl('https://secure.payu.com.tr/api/loyalty-points/check'); $this->configuration = $configuration; $this->client = new Client($configuration); }
public function testSetMerchantId() { $this->configuration->setMerchantId('TestMerchantIdSetter'); $this->assertEquals('TestMerchantIdSetter', $this->configuration->getMerchantId()); }