Package net.officefloor.pay.paypal.mock
Class PayPalExtension
- java.lang.Object
- 
- net.officefloor.pay.paypal.mock.AbstractPayPalJUnit
- 
- net.officefloor.pay.paypal.mock.PayPalExtension
 
 
- 
- All Implemented Interfaces:
- org.junit.jupiter.api.extension.AfterAllCallback,- org.junit.jupiter.api.extension.AfterEachCallback,- org.junit.jupiter.api.extension.BeforeAllCallback,- org.junit.jupiter.api.extension.BeforeEachCallback,- org.junit.jupiter.api.extension.Extension
 
 public class PayPalExtension extends AbstractPayPalJUnit implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.AfterAllCallback Extensionto mockPayPalHttpClientinteraction.- Author:
- Daniel Sagenschneider
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class net.officefloor.pay.paypal.mock.AbstractPayPalJUnitAbstractPayPalJUnit.Interaction<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>, AbstractPayPalJUnit.Validator<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>
 
- 
 - 
Constructor SummaryConstructors Constructor Description PayPalExtension()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterAll(org.junit.jupiter.api.extension.ExtensionContext context)voidafterEach(org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext context)- 
Methods inherited from class net.officefloor.pay.paypal.mock.AbstractPayPalJUnitaddException, addException, addInteraction, addOrdersCaptureResponse, addOrdersCaptureResponse, addOrdersCreateResponse, addOrdersCreateResponse, assertInteractions, getOrderId, setupMockPayPaylHttpClient, tearDownMockPayPaylHttpClient
 
- 
 
- 
- 
- 
Method Detail- 
beforeAllpublic void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.Exception- Specified by:
- beforeAllin interface- org.junit.jupiter.api.extension.BeforeAllCallback
- Throws:
- java.lang.Exception
 
 - 
beforeEachpublic void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.Exception- Specified by:
- beforeEachin interface- org.junit.jupiter.api.extension.BeforeEachCallback
- Throws:
- java.lang.Exception
 
 - 
afterEachpublic void afterEach(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.Exception- Specified by:
- afterEachin interface- org.junit.jupiter.api.extension.AfterEachCallback
- Throws:
- java.lang.Exception
 
 - 
afterAllpublic void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.Exception- Specified by:
- afterAllin interface- org.junit.jupiter.api.extension.AfterAllCallback
- Throws:
- java.lang.Exception
 
 
- 
 
-