SessionClosing extends AbstractSessionState { @Override public String name() { return "Session-Closing"; } 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 testName() { Assert.assertEquals(seesionClosing.toString(), seesionClosing.name()); }