@Test
public void testCreateReceivedToken() {

    request.setParameter(
            TransactionTokenInterceptor.TOKEN_REQUEST_PARAMETER, "a~b~c");
    TransactionToken token = interceptor.createReceivedToken(request);
    assertThat(token.getTokenName(), is("a"));
}