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