ResultMatcher function ( final Object arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) { HttpServletRequest loc0 = arg1 . getRequest ( ) ; assertAsyncStarted ( loc0 ) ; assertEquals ( "srini_string" , arg0 , arg1 . getAsyncResult ( ) ) ; } } ; }
assert the result from asynchronous processing . this method can be used when a controller method returns callable or webasynctask . the value matched is the value returned from the callable or the exception raised . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher sessionAttribute concode_elem_sep ResultMatcher sessionAttribute concode_elem_sep void assertAsyncStarted concode_elem_sep ResultMatcher asyncStarted concode_elem_sep ResultMatcher asyncNotStarted concode_elem_sep ResultMatcher attribute concode_elem_sep ResultMatcher attribute