public void testDecodeAttributeBody() throws StunException {
  char offset=0;
  RealmAttribute decoded=new RealmAttribute();
  char length=(char)realmValue.length();
  decoded.decodeAttributeBody(realmValue.getBytes(),offset,length);
  assertEquals("decode failed",realmAttribute,decoded);
}

public void testDecodeAttributeBody ( ) throws StunException { char offset = 0 ; RealmAttribute decoded = new RealmAttribute ( ) ; char length = ( char ) realmValue . length ( ) ; decoded . decodeAttributeBody ( realmValue . getBytes ( ) , offset , length ) ; assertEquals ( "decode failed" , realmAttribute , decoded ) ; }
tests decoding of the realm attribute .
