@Test
public void testGetExtraHiddenFields01() {

    // setup arguments
    TransactionTokenRequestDataValueProcessor processor = new TransactionTokenRequestDataValueProcessor();
    HttpServletRequest request = mock(HttpServletRequest.class);
    // mock behavior
    when((TransactionToken) request.getAttribute(
            TransactionTokenInterceptor.NEXT_TOKEN_REQUEST_ATTRIBUTE_NAME))
                    .thenReturn(null);
    // run
    Map<String, String> result = processor.getExtraHiddenFields(request);
    // assert
    assertThat(result, nullValue());
}