Package net.officefloor.pay.paypal.mock
Class PayPalRule
- java.lang.Object
-
- net.officefloor.pay.paypal.mock.AbstractPayPalJUnit
-
- net.officefloor.pay.paypal.mock.PayPalRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class PayPalRule extends AbstractPayPalJUnit implements org.junit.rules.TestRule
TestRule
to mockPayPalHttpClient
interaction.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.pay.paypal.mock.AbstractPayPalJUnit
AbstractPayPalJUnit.Interaction<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>, AbstractPayPalJUnit.Validator<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>
-
-
Constructor Summary
Constructors Constructor Description PayPalRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Methods inherited from class net.officefloor.pay.paypal.mock.AbstractPayPalJUnit
addException, addException, addInteraction, addOrdersCaptureResponse, addOrdersCaptureResponse, addOrdersCreateResponse, addOrdersCreateResponse, assertInteractions, getOrderId, setupMockPayPaylHttpClient, tearDownMockPayPaylHttpClient
-
-