### Question:
WebSocketEndpoint { @OnMessage public void onMessage(String message, Session session) { logger.info("webSocket: /webSocket/demo receive message: {}, the session is : {} ", message, session); }  @OnOpen void onOpen(Session session); @OnMessage void onMessage(String message, Session session); @OnClose void onClose(); @OnError void onError(Session session, Throwable error);  }### Answer:
@Test public void onMessage() { }