/** * @throws Exception */ @Test(expected=IOException.class) public void bad2() throws Exception { FlexBuffer buf=new FlexBuffer(new byte[]{1,2,3,4,0,0,0,0}); p.sessionData(who,buf); }