### Question:
JwtSessionManager extends GenericHeapObject implements SessionManager { @Override public void save(Session session, Response response) throws IOException { if (response != null) { session.save(response); } } JwtSessionManager(final KeyPair keyPair,
                             final String cookieName,
                             final TimeService timeService,
                             final Duration sessionTimeout); @Override Session load(final Request request); @Override void save(Session session, Response response); static final String DEFAULT_SESSION_TIMEOUT; static final Duration MAX_SESSION_TIMEOUT; }### Answer:
@Test public void shouldSaveSession() throws Exception { Response response = new Response(Status.OK); manager.save(session, response); verify(session).save(same(response)); }
@Test public void shouldNotSaveSession() throws Exception { manager.save(session, null); verifyZeroInteractions(session); }