public class WrapExceptionMessagingServiceTest extends Object
Modifier and Type | Field and Description |
---|---|
(package private) MessagingService |
delegate |
LoggingTestRule |
loggingRule |
org.mockito.junit.MockitoRule |
mockito |
(package private) MessagingService |
wrapper |
Constructor and Description |
---|
WrapExceptionMessagingServiceTest() |
Modifier and Type | Method and Description |
---|---|
void |
errorShouldNotBeWrapped() |
void |
messagingRuntimeExceptionShouldBeWrapped() |
void |
runtimeExceptionShouldBeWrapped() |
void |
setup() |
public final LoggingTestRule loggingRule
public final org.mockito.junit.MockitoRule mockito
@Mock MessagingService delegate
MessagingService wrapper
public void setup()
public void runtimeExceptionShouldBeWrapped() throws MessagingException
MessagingException
public void messagingRuntimeExceptionShouldBeWrapped() throws MessagingException
MessagingException
public void errorShouldNotBeWrapped() throws MessagingException
MessagingException
Copyright © 2021. All rights reserved.