ResultMatcher function ( ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg0 ) { HttpServletRequest loc0 = arg0 . getRequest ( ) ; assertAsyncStarted ( loc0 ) ; } } ; }
assert whether asynchronous processing started , usually as a result of a controller method returning callable or deferredresult . the test will await the completion of a callable so that #asyncresult matcher can be used to assert the resulting value.neither a callable nor a deferredresult will completeprocessing all the way since a mockhttpservletrequest does notperform asynchronous dispatches . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher asyncResult concode_elem_sep ResultMatcher asyncResult concode_elem_sep ResultMatcher sessionAttribute concode_elem_sep ResultMatcher sessionAttribute concode_elem_sep void assertAsyncStarted concode_elem_sep ResultMatcher asyncNotStarted concode_elem_sep ResultMatcher attribute concode_elem_sep ResultMatcher attribute