@Test
public void testRemove() {

    // setup parameters
    HttpSession session = new MockHttpSession();
    request.setSession(session);
    TransactionToken token = new TransactionToken("tokenName", "tokenKey", "tokenValue");
    // prepare store instance
    store = new HttpSessionTransactionTokenStore();
    store.store(token);
    // run
    store.remove(token);
    // assert
    assertThat(session.getAttribute(
            HttpSessionTransactionTokenStore.TOKEN_HOLDER_SESSION_ATTRIBUTE_PREFIX
                    + token.getTokenName() + token.getTokenKey()), is(
                            nullValue()));
}