METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . commons . lang3 . IDENT_1 . METHOD_1 ( 8 ) ; com . github . IDENT_2 . common . IDENT_3 . InputStream IDENT_4 = new com . github . IDENT_2 . common . IDENT_3 . ByteArrayInputStream ( IDENT_0 . getBytes ( ) ) ; java . lang . String text ; try ( final com . github . IDENT_2 . common . IDENT_3 . IDENT_5 reader = new com . github . IDENT_2 . common . IDENT_3 . METHOD_2 ( IDENT_4 ) ) { text = com . google . common . io . IDENT_6 . toString ( reader ) ; } "<AssertPlaceHolder>" ; } toString ( com . github . IDENT_2 . common . IDENT_7 . IDENT_8 . util . IDENT_9 . IDENT_10 [ ] ) { if ( ( IDENT_11 == null ) || ( ( IDENT_11 . length ) == 0 ) ) { return STRING_0 ; } java . lang . StringBuilder buffer = new java . lang . StringBuilder ( ) ; for ( int i = 0 ; i < ( IDENT_11 . length ) ; i ++ ) { com . github . IDENT_2 . common . IDENT_7 . IDENT_8 . util . IDENT_9 . IDENT_10 IDENT_12 = IDENT_11 [ i ] ; if ( i == 0 ) { buffer . append ( IDENT_12 . getName ( ) ) . append ( STRING_1 ) . append ( IDENT_12 . getValue ( ) ) ; } else { buffer . append ( STRING_2 ) . append ( IDENT_12 . getName ( ) ) . append ( STRING_1 ) . append ( IDENT_12 . getValue ( ) ) ; } } return buffer . toString ( ) ; }
org . junit . Assert . assertThat ( text , org . hamcrest . Matchers . equalTo ( IDENT_0 ) )