BaseMessage - The base or container message type.E - The exception type thrown.public static interface MessageValidation.ValidationExpectation<BaseMessage extends PMessage<BaseMessage>,E extends Exception> extends MessageValidation.Expectation<BaseMessage>
| Modifier and Type | Method and Description |
|---|---|
List<E> |
validationErrors(String path,
BaseMessage message)
Check for validity, and collect as many validation errors as possible.
|
testList<E> validationErrors(String path, BaseMessage message)
path - The path to the base message.message - The message to test.Copyright © 2015–2020 morimekta.net. All rights reserved.