public void testDecoder2(){
  boolean res;
  int originalAppIdValue=mAppIdValue;
  Random rd=new Random();
  mAppIdValue=rd.nextInt(0xFFFF);
  byte[] pdu=createPDU(2);
  WspTypeDecoder pduDecoder=new WspTypeDecoder(pdu);
  res=pduDecoder.seekXWapApplicationId(mWspHeaderStart,mWspHeaderStart + mWspHeaderLen - 1);
  assertFalse(res);
  mAppIdValue=originalAppIdValue;
}

public void testDecoder2 ( ) { boolean res ; int originalAppIdValue = mAppIdValue ; Random rd = new Random ( ) ; mAppIdValue = rd . nextInt ( 0xFFFF ) ; byte [ ] pdu = createPDU ( 2 ) ; WspTypeDecoder pduDecoder = new WspTypeDecoder ( pdu ) ; res = pduDecoder . seekXWapApplicationId ( mWspHeaderStart , mWspHeaderStart + mWspHeaderLen - 1 ) ; assertFalse ( res ) ; mAppIdValue = originalAppIdValue ; }
wsptypedecoder test , no header
