* @throws Exception
*/
public void testMoreThanOneMessageInTheFrame() throws Exception {
ByteArrayInputStream bais1 = new ByteArrayInputStream(raw52);
WebSocketCodec codec = new WebSocketCodec(true, false);
String s = new String(codec.decode(bais1));
assertNotNull(s);
assertTrue(s.startsWith("REGISTER"));
System.out.println(s);
s = new String(codec.decode(new ByteArrayInputStream(new byte[]{})));
System.out.println(s);