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, stubErrorHandler
public 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
Exception
public void standardUnmarshaller_passedInMap_throwsMappedException() throws Exception
Exception
public void legacyUnmarshaller_passedInMap_throwsMappedException() throws Exception
Exception
public void noMarshallerDefined_throwsBaseException() throws Exception
Exception
public void invalidXmlLogsXmlContentToDebug() throws Exception
Exception
Copyright © 2023. All rights reserved.