void function ( ) { if ( actualException instanceof Error ) { throw ( Error ) actualException ; } else if ( actualException instanceof FixtureExecutionException ) { throw ( FixtureExecutionException ) actualException ; } }
makes sure the execution phase has finishes without any errors ir fixtureexecutionexceptions . if an error was recorded , it will be thrown immediately . this allow one to distinguish between failed tests , and tests in error . concode_field_sep Object actualReturnValue concode_elem_sep Reporter reporter concode_elem_sep Collection<EventMessage> publishedEvents concode_elem_sep FieldFilter fieldFilter concode_elem_sep Throwable actualException concode_elem_sep Collection<DomainEventMessage> storedEvents concode_field_sep ResultValidator expectStoredEvents concode_elem_sep ResultValidator expectStoredEventsMatching concode_elem_sep ResultValidator expectPublishedEvents concode_elem_sep void onFailure concode_elem_sep boolean verifyEventEquality concode_elem_sep ResultValidator expectEvents concode_elem_sep ResultValidator expectReturnValue concode_elem_sep ResultValidator expectReturnValue concode_elem_sep ResultValidator expectEventsMatching concode_elem_sep StringDescription descriptionOf concode_elem_sep ResultValidator expectPublishedEventsMatching concode_elem_sep ResultValidator expectVoidReturnType concode_elem_sep ResultValidator expectException concode_elem_sep ResultValidator expectException concode_elem_sep void onSuccess