METHOD_0 ( ) { final org . apache . hadoop . IDENT_0 . IDENT_1 . buffer . IDENT_2 in = org . mockito . Mockito . mock ( org . apache . hadoop . IDENT_0 . IDENT_1 . buffer . IDENT_2 . class ) ; org . mockito . Mockito . when ( in . METHOD_1 ( ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( in , org . mockito . Mockito . times ( 4 ) ) . METHOD_2 ( ) ; org . mockito . Mockito . verify ( in , org . mockito . Mockito . times ( 2 ) ) . METHOD_3 ( any ( byte [ ] . class ) , METHOD_4 ( ) , METHOD_4 ( ) ) ; } METHOD_5 ( org . apache . hadoop . IDENT_0 . IDENT_1 . buffer . IDENT_2 , org . apache . hadoop . IDENT_0 . IDENT_1 . util . IDENT_3 , org . apache . hadoop . IDENT_0 . IDENT_1 . util . IDENT_3 ) { if ( ! ( in . METHOD_1 ( ) ) ) { return 0 ; } key . length = in . METHOD_2 ( ) ; value . length = in . METHOD_2 ( ) ; IDENT_4 . METHOD_6 ( in , key . length , key . v ) ; IDENT_5 . METHOD_6 ( in , value . length , value . v ) ; return ( ( key . length ) + ( value . length ) ) + ( org . apache . hadoop . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . IDENT_8 ) ; }
org . junit . Assert . assertTrue ( ( ( serializer . METHOD_5 ( in , key , value ) ) > 0 ) )