SessionClosing extends AbstractSessionState { @Override protected SessionState doNextAfterFail() { return this; } SessionClosing(Session session); @Override void tryWrite(ByteBuf byteBuf); @Override String name(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testDoNextAfterFail() { Assert.assertEquals(new SessionClosing(frontend), seesionClosing.nextAfterFail()); }