DefaultBackendSession extends AbstractSession implements BackendSession { @Override public SESSION_TYPE getSessionType() { return SESSION_TYPE.BACKEND; } DefaultBackendSession(Tunnel tunnel, EventLoopGroup eventLoopGroup, long trafficReportIntervalMillis,
                                 ResourceManager resourceManager); @Override void sendAfterProtocol(ByteBuf byteBuf); @Override SESSION_TYPE getSessionType(); SessionState getSessionState(); @Override SessionMonitor getSessionMonitor();  }
@Test public void getSessionType() { Assert.assertEquals(SESSION_TYPE.BACKEND, session.getSessionType()); }