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
MessagingExceptionpublic void messagingRuntimeExceptionShouldBeWrapped()
throws MessagingException
MessagingExceptionpublic void errorShouldNotBeWrapped()
throws MessagingException
MessagingExceptionCopyright © 2021. All rights reserved.