### Question:
DisabledSessionManager implements SessionManager { @Override public Session getSession(SessionKey key) throws SessionException { return null; }  @Override Session start(SessionContext context); @Override Session getSession(SessionKey key);  }### Answer:
@Test public void testGetSession() { assertNull(mgr.getSession(null)); assertNull(mgr.getSession(new DefaultSessionKey("foo"))); }