SessionInit extends AbstractSessionState { @Override public String name() { return "Session-Init"; } SessionInit(Session session); @Override void tryWrite(ByteBuf byteBuf); @Override String name(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testName() { Assert.assertEquals(sessionInit.toString(), sessionInit.name()); }