DefaultFrontendSession extends AbstractSession implements FrontendSession { @Override public SessionState getSessionState() { return sessionState.get(); } DefaultFrontendSession(Tunnel tunnel, Channel channel, long trafficReportIntervalMillis); @Override SESSION_TYPE getSessionType(); @Override SessionState getSessionState(); @Override SessionMonitor getSessionMonitor();  }
@Test public void testGetSessionState() { Assert.assertEquals(new SessionEstablished(session), session.getSessionState()); }