@Test
public void testWebSocketMessage_message() throws Exception {

	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	WebSocketMessage wsm = new WebSocketMessage( null );
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, wsm );
	Assert.assertEquals( "{}", writer.toString());
	wsm = new WebSocketMessage( "my message" );
	writer = new StringWriter();
	mapper.writeValue( writer, wsm );
	String s = writer.toString();
	Assert.assertEquals( "{\"msg\":\"my message\"}", s );
}