question: public void testEncode ( ) { optionalAttribute . setBody ( expectedAttributeValue , 0 , expectedAttributeValue . length ) ; byte [ ] actualReturn = optionalAttribute . encode ( ) ; assertTrue ( "encode failed" , Arrays . equals ( msgFixture . unknownOptionalAttribute , actualReturn ) ) ; }
target:  Test whether attributes are properly encoded