@Test
public void testSetResultMessages_BusinessException_flashMap_is_null() {

    ResultMessages resultMessages = ResultMessages.error().add("code01");
    BusinessException occurException = new BusinessException(resultMessages);
    testTarget.setResultMessages(occurException, mockRequest);
    FlashMap flashMap = RequestContextUtils.getOutputFlashMap(mockRequest);
    assertThat(flashMap, is(nullValue()));
}