METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; io . github . IDENT_1 . IDENT_2 . api . message . Message IDENT_3 = io . github . IDENT_1 . IDENT_2 . support . TestUtils . METHOD_1 ( io . github . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 . IDENT_6 , IDENT_0 ) ; int IDENT_7 = 200 ; int IDENT_8 = 1 ; when ( IDENT_9 . METHOD_2 ( ) ) . thenReturn ( 0 ) ; when ( IDENT_9 . METHOD_3 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_9 . METHOD_4 ( ) ) . thenReturn ( IDENT_8 ) ; java . util . function . IDENT_10 < io . github . IDENT_1 . IDENT_2 . api . message . payload . IDENT_11 , io . github . IDENT_1 . IDENT_2 . api . IDENT_12 > IDENT_13 = mock ( java . util . function . IDENT_10 . class ) ; when ( IDENT_14 . METHOD_5 ( ) ) . thenReturn ( METHOD_5 ) ; io . github . IDENT_1 . IDENT_2 . api . IDENT_15 < java . lang . IDENT_16 > IDENT_17 = mock ( io . github . IDENT_1 . IDENT_2 . api . IDENT_15 . class ) ; when ( IDENT_14 . METHOD_6 ( ) ) . thenReturn ( METHOD_6 ) ; METHOD_7 ( new java . lang . RuntimeException ( STRING_1 ) ) . when ( METHOD_6 ) . call ( any ( ) ) ; io . github . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_18 < io . github . IDENT_1 . IDENT_2 . api . message . payload . IDENT_11 > IDENT_4 = METHOD_8 ( ) ; IDENT_4 . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; METHOD_10 ( IDENT_4 , 1 ) ; IDENT_4 . METHOD_11 ( IDENT_3 , null ) ; verify ( METHOD_6 , times ( 1 ) ) . call ( any ( ) ) ; } METHOD_12 ( ) { if ( IDENT_19 . isEmpty ( ) ) { return IDENT_8 ; } java . lang . Integer IDENT_20 = 0 ; for ( java . lang . Integer IDENT_21 : IDENT_19 . values ( ) ) { IDENT_20 += IDENT_21 ; } return java . lang . Math . max ( IDENT_8 , IDENT_20 ) ; }
org . junit . Assert . assertEquals ( IDENT_8 , IDENT_4 . METHOD_12 ( ) )