METHOD_0 ( ) { final org . apache . hadoop . IDENT_0 . IDENT_1 . buffer . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( org . apache . hadoop . IDENT_0 . IDENT_1 . buffer . IDENT_2 . class ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( ( ( ( ( key . length ) + ( value . length ) ) + ( org . apache . hadoop . IDENT_0 . IDENT_1 . Constants . IDENT_4 ) ) + ( org . apache . hadoop . IDENT_0 . IDENT_1 . Constants . IDENT_5 ) ) ) ) . thenReturn ( true ) ; final int IDENT_6 = serializer . METHOD_3 ( IDENT_3 , 100 , key , value ) ; org . mockito . Mockito . verify ( IDENT_3 , org . mockito . Mockito . times ( 1 ) ) . METHOD_4 ( ) ; org . mockito . Mockito . verify ( IDENT_3 , org . mockito . Mockito . times ( 5 ) ) . METHOD_5 ( METHOD_6 ( ) ) ; org . mockito . Mockito . verify ( IDENT_3 , org . mockito . Mockito . times ( 2 ) ) . write ( any ( byte [ ] . class ) , METHOD_6 ( ) , METHOD_6 ( ) ) ; "<AssertPlaceHolder>" ; } write ( org . apache . hadoop . yarn . server . IDENT_7 . IDENT_8 . IDENT_9 , org . apache . hadoop . yarn . api . records . IDENT_7 . IDENT_10 , org . apache . hadoop . security . IDENT_11 ) { org . apache . hadoop . yarn . server . IDENT_7 . storage . IDENT_12 . LOG . debug ( ( STRING_0 + STRING_1 ) ) ; return new org . apache . hadoop . yarn . api . records . IDENT_7 . METHOD_7 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_6 , ( ( ( ( key . length ) + ( value . length ) ) + ( org . apache . hadoop . IDENT_0 . IDENT_1 . Constants . IDENT_4 ) ) + ( org . apache . hadoop . IDENT_0 . IDENT_1 . Constants . IDENT_5 ) ) )