use of io.spine.server.event.UnsupportedEventException in project core-java by SpineEventEngine.
the class UnsupportedEventExceptionShould method have_msg_and_error.
@Test
public void have_msg_and_error() {
final StringValue msg = Wrapper.forString("");
final UnsupportedEventException exception = new UnsupportedEventException(msg);
assertNotNull(exception.getMessage());
assertNotNull(exception.getError());
assertEquals(msg, exception.getEventMessage());
}
Aggregations