md.setValid(true);
md.setMaxInactiveInterval(30000);
Long ts = Long.valueOf(md.getCreationTime() + 1);
Map<String, Object> attrs = new HashMap<String, Object>();
attrs.put("key", "value");
OutgoingSessionGranularitySessionData sessionData = new MockOutgoingSessionData(id, 1, ts, md, attrs);
testee.storeSessionData(sessionData);
attrs.put("key", "newvalue");
ts = Long.valueOf(System.currentTimeMillis());
sessionData = new MockOutgoingSessionData(id, 1, ts, null, attrs);