question: public void testDecodeAttributeBody ( ) throws StunException { char offset = Attribute . HEADER_LENGTH ; char length = ( char ) ( msgFixture . unknownOptionalAttribute . length - offset ) ; optionalAttribute . decodeAttributeBody ( msgFixture . unknownOptionalAttribute , offset , length ) ; assertTrue ( "OptionalAttribute did not decode properly." , Arrays . equals ( expectedAttributeValue , optionalAttribute . getBody ( ) ) ) ; assertEquals ( "Lenght was not properly decoded" , length , optionalAttribute . getDataLength ( ) ) ; }
target:  Test whether sample binary arrays are correctly decoded.