| Package | Description |
|---|---|
| no.digipost.api.client.testing |
| Modifier and Type | Field and Description |
|---|---|
Map<DigipostApiMock.Method,DigipostApiMock.RequestsAndResponses> |
DigipostClientMock.requestsAndResponsesMap |
| Modifier and Type | Method and Description |
|---|---|
static DigipostApiMock.Method |
DigipostApiMock.Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigipostApiMock.Method[] |
DigipostApiMock.Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DigipostClientMock.addExpectedException(DigipostApiMock.Method method,
RuntimeException exception) |
void |
DigipostClientMock.addExpectedResponse(DigipostApiMock.Method method,
org.apache.http.client.methods.CloseableHttpResponse response) |
Map<String,DigipostApiMock.MockRequest> |
DigipostClientMock.getAllRequests(DigipostApiMock.Method method) |
DigipostApiMock.MockRequest |
DigipostClientMock.getRequest(DigipostApiMock.Method method,
String requestKey) |
| Modifier and Type | Method and Description |
|---|---|
DigipostApiMock |
DigipostApiMock.start(int port,
Map<DigipostApiMock.Method,DigipostApiMock.RequestsAndResponses> requestsAndResponsesMap,
KeyPair keyPair) |
Copyright © 2019 Digipost. All rights reserved.