ХМ
Size: a a a
ХМ
ХМ
PB
ХМ
PB
ХМ
PB
ХМ
PB
ХМ
PB
ХМ
ХМ
PB
MvcResult result = mockMvcи посмотреть, что в нем)
.perform(post("bla-bla")
.contentType(APPLICATION_JSON))
.andReturn();
MvcResult result = mockMvc
<...>
.andReturn();
mockMvc
.perform(asyncDispatch(result))
.andExpect(status().isOk())
<...>
ХМ
MvcResult result = mockMvcи посмотреть, что в нем)
.perform(post("bla-bla")
.contentType(APPLICATION_JSON))
.andReturn();
MvcResult result = mockMvc
<...>
.andReturn();
mockMvc
.perform(asyncDispatch(result))
.andExpect(status().isOk())
<...>
W
КМ
S🕶
.and()
.exceptionHandling()
.accessDeniedHandler(accessDeniedHandler)
.authenticationEntryPoint(authenticationEntryPoint)
ИТ
.and()
.exceptionHandling()
.accessDeniedHandler(accessDeniedHandler)
.authenticationEntryPoint(authenticationEntryPoint)
S🕶