public function suspendSubscription(array $parameters = array()) { return $this->createRequest('\\Omnipay\\PayPal\\Message\\RestSuspendSubscriptionRequest', $parameters); }
public function testSuspendSubscription() { $this->setMockHttpResponse('RestGenericSubscriptionSuccess.txt'); $response = $this->gateway->suspendSubscription($this->subscription_options)->send(); $this->assertTrue($response->isSuccessful()); $this->assertNull($response->getMessage()); }