METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 + ( ( ( STRING_1 + STRING_2 ) + STRING_3 ) + STRING_4 ) ; final IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_4 IDENT_5 = IDENT_1 . IDENT_2 . util . java . IDENT_6 . METHOD_1 ( IDENT_0 , IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_4 . class ) ; final java . lang . String IDENT_7 = ( ( IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) + " " ) + IDENT_0 ; final IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_10 IDENT_11 = new IDENT_1 . IDENT_2 . IDENT_3 . event . METHOD_2 ( ) ; final IDENT_1 . IDENT_2 . IDENT_12 IDENT_13 = org . mockito . Mockito . mock ( IDENT_1 . IDENT_2 . IDENT_12 . class ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_3 ( ) ) . thenReturn ( new IDENT_1 . IDENT_2 . config . Configuration ( IDENT_1 . IDENT_2 . config . IDENT_14 . IDENT_15 . METHOD_4 ( ) ) ) ; final java . lang . String output = IDENT_11 . METHOD_5 ( IDENT_13 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( IDENT_1 . IDENT_2 . IDENT_12 , IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_16 ) { final IDENT_1 . IDENT_2 . config . Configuration configuration = IDENT_13 . METHOD_3 ( ) ; final int IDENT_17 = java . lang . Integer . METHOD_6 ( configuration . METHOD_7 ( IDENT_18 . IDENT_19 ) ) ; java . lang . String IDENT_20 = "" ; final java . lang . StringBuilder message = new java . lang . StringBuilder ( ) ; message . append ( IDENT_8 . IDENT_9 ) ; message . append ( " " ) ; IDENT_20 = IDENT_1 . IDENT_2 . util . java . IDENT_6 . serialize ( IDENT_5 ) ; if ( ( ( message . length ( ) ) + ( IDENT_20 . length ( ) ) ) <= IDENT_17 ) { message . append ( IDENT_20 ) ; } else { final IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_16 IDENT_21 = IDENT_1 . IDENT_2 . util . java . IDENT_6 . METHOD_8 ( IDENT_5 , IDENT_5 . getClass ( ) ) ; IDENT_21 . message = ( ( IDENT_21 . message ) == null ) ? "" : IDENT_21 . message ; IDENT_21 . IDENT_22 = ( ( IDENT_21 . IDENT_22 ) == null ) ? "" : IDENT_21 . IDENT_22 ; final java . lang . String IDENT_23 = configuration . METHOD_7 ( IDENT_18 . IDENT_24 ) ; final IDENT_1 . IDENT_2 . IDENT_3 . event . IDENT_16 IDENT_25 = IDENT_1 . IDENT_2 . util . java . IDENT_6 . METHOD_8 ( IDENT_5 , IDENT_5 . getClass ( ) ) ; IDENT_25 . message = "" ; IDENT_25 . IDENT_22 = "" ; final int IDENT_26 = ( ( message . length ( ) ) + ( IDENT_1 . IDENT_2 . util . java . IDENT_6 . serialize ( IDENT_25 ) . length ( ) ) ) + ( IDENT_23 . length ( ) ) ; final int IDENT_27 = IDENT_17 - ( IDENT_26 + ( ( IDENT_23 . length ( ) ) * 2 ) ) ; int IDENT_28 = IDENT_21 . getMessage ( ) . length ( ) ; int IDENT_29 = IDENT_21 . METHOD_9 ( ) . length ( ) ; { int IDENT_30 = IDENT_27 ; while ( ( IDENT_28 + IDENT_29 ) > IDENT_27 ) { IDENT_30 OP_0 ; IDENT_28 = java . lang . Math . min ( IDENT_28 , IDENT_30 ) ; IDENT_29 = java . lang . Math . min ( IDENT_29 , IDENT_30 ) ; } } IDENT_25 . message = ( ( IDENT_21 . getMessage ( ) . length ( ) ) > IDENT_28 ) ? ( IDENT_21 . message . substring ( 0 , IDENT_28 ) ) + IDENT_23 : IDENT_21 . message ; IDENT_25 . IDENT_22 = ( ( IDENT_21 . METHOD_9 ( ) . length ( ) ) > IDENT_29 ) ? ( IDENT_21 . IDENT_22 . substring ( 0 , IDENT_29 ) ) + IDENT_23 : IDENT_21 . IDENT_22 ; message . append ( IDENT_1 . IDENT_2 . util . java . IDENT_6 . serialize ( IDENT_25 ) ) ; } return message . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , output )