Package no.digipost.api.client.testing
Class DigipostApiMock.MockResponse
- java.lang.Object
-
- no.digipost.api.client.testing.DigipostApiMock.MockResponse
-
- All Implemented Interfaces:
DigipostApiMock.ResponseProducer
- Enclosing class:
- DigipostApiMock
public static class DigipostApiMock.MockResponse extends java.lang.Object implements DigipostApiMock.ResponseProducer
-
-
Constructor Summary
Constructors Constructor Description MockResponse(java.lang.RuntimeException ex)MockResponse(org.apache.http.client.methods.CloseableHttpResponse response)
-
Method Summary
Modifier and Type Method Description org.apache.http.client.methods.CloseableHttpResponsegetResponse()
-
-
-
Method Detail
-
getResponse
public org.apache.http.client.methods.CloseableHttpResponse getResponse()
- Specified by:
getResponsein interfaceDigipostApiMock.ResponseProducer
-
-