@Test
public void testMyinfo() throws Exception {
MvcResult mvcResult = mockMvc.perform(post("/user/myinfo").principal(new TestingAuthenticationToken("admin", null)))
.andExpect(request().asyncStarted()).andExpect(request().asyncResult(is(not(isEmptyOrNullString())))).andReturn();
mvcResult = mockMvc.perform(asyncDispatch(mvcResult)).andReturn();
Member member = (Member) mvcResult.getRequest().getAttribute("member");
logger.debug("My account is \"{}\" and my name is {}", member.getId(), member.getName());
assertThat("Test UserInfo error ", "admin", is(equalTo(member.getId())));
}