@Test(expected = IllegalArgumentException.class)
public void testStore_token_isNull() throws Exception {

    try {
        store = new HttpSessionTransactionTokenStore(5);
        store.store(null);
    } catch (Exception e) {
        assertThat(e.getMessage(), is("token must not be null"));
        throw e;
    }
}