matches against null or void . can be used to make sure no trailing events remain when using an exact sequence matcher #exactsequenceof org.hamcrest.matcher . concode_field_sep PlaceHolder placeHolder concode_field_sep Matcher<List<T>> listWithAllOf concode_elem_sep Matcher<List<CommandMessage<?>>> noCommands concode_elem_sep Matcher<List<T>> exactSequenceOf concode_elem_sep Matcher<Message<?>> andNoMore concode_elem_sep Matcher<Message<?>> messageWithPayload concode_elem_sep EqualFieldsMatcher<T> equalTo concode_elem_sep EqualFieldsMatcher<T> equalTo concode_elem_sep Matcher<List<T>> listWithAnyOf concode_elem_sep Matcher<List<T>> sequenceOf concode_elem_sep Matcher<List<Message<?>>> payloadsMatching concode_elem_sep Matcher<List<EventMessage<?>>> noEvents concode_elem_sep Matcher<T> matches
Matcher < Message < ? >> function ( ) { return new NullOrVoidMatcher < > ( ) ; }