void function ( ) { String loc0 = "srini_string" ; String loc1 = "srini_string" ; ByteBuffer loc2 = ByteBuffer . wrap ( loc0 . getBytes ( ) ) ; String loc3 = StringUtils . fromByteBuffer ( loc2 ) ; assertEquals ( loc1 , loc3 ) ; }
tests that stringutils #frombytebuffer bytebuffer correctlybase64 encodes the contents in a bytebuffer and returns the correct result . concode_field_sep PlaceHolder placeHolder concode_field_sep void replace_MatchNotFound_ReturnsOriginalString concode_elem_sep void upperCase_EmptyString concode_elem_sep void testAppendAndCompact concode_elem_sep void testUTF8Charset concode_elem_sep void lowerCase_EmptyString concode_elem_sep void replace_ReplacementStringContainsMatchString_DoesNotCauseInfiniteLoop concode_elem_sep void testCompare_String1Null concode_elem_sep void replace_EmptyReplacementString_RemovesAllOccurencesOfMatchString concode_elem_sep void upperCase_NullString concode_elem_sep void testCompare concode_elem_sep void lowerCase_NonEmptyString concode_elem_sep void upperCase_NonEmptyString concode_elem_sep void lowerCase_NullString concode_elem_sep void testCompare_String2Null concode_elem_sep void testFromByte