public class DefaultErrorResponseHandlerIntegrationTest extends WireMockTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultErrorResponseHandlerIntegrationTest.BaseException |
static class |
DefaultErrorResponseHandlerIntegrationTest.CustomException |
static class |
DefaultErrorResponseHandlerIntegrationTest.CustomLegacyException |
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
exception |
static String |
LEGACY_TEST_ERROR_CODE |
static String |
STANDARD_TEST_ERROR_CODE |
mockServer| Constructor and Description |
|---|
DefaultErrorResponseHandlerIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
invalidXmlLogsXmlContentToDebug() |
void |
invocationIdIsCapturedInTheLog() |
void |
legacyUnmarshaller_passedInMap_throwsMappedException() |
void |
noMarshallerDefined_throwsBaseException() |
void |
requestIdIsLoggedWithDebugIfInTheHeader() |
void |
setUp() |
void |
standardUnmarshaller_passedInMap_throwsMappedException() |
newGetRequest, newRequest, stubErrorHandlerpublic static final String STANDARD_TEST_ERROR_CODE
public static final String LEGACY_TEST_ERROR_CODE
public ExpectedException exception
public DefaultErrorResponseHandlerIntegrationTest()
public void setUp()
public void invocationIdIsCapturedInTheLog()
throws Exception
Exceptionpublic void standardUnmarshaller_passedInMap_throwsMappedException()
throws Exception
Exceptionpublic void legacyUnmarshaller_passedInMap_throwsMappedException()
throws Exception
Exceptionpublic void noMarshallerDefined_throwsBaseException()
throws Exception
Exceptionpublic void invalidXmlLogsXmlContentToDebug()
throws Exception
ExceptionCopyright © 2024. All rights reserved.