@Test(expected = IllegalArgumentException.class)
public void shouldValidateSessionNameLength() throws IOException {

    HttpSessionImpl sessionWrapper = new HttpSessionImpl("abcX8", System.currentTimeMillis());
    fileSessionStorage.persistSession(sessionWrapper);
}