METHOD_0 ( ) { org . apache . hadoop . mapreduce . IDENT_0 . Context context = mock ( IDENT_0 . Context . class ) ; org . apache . hadoop . mapreduce . IDENT_1 IDENT_2 = new org . apache . hadoop . mapreduce . METHOD_1 ( ) ; org . apache . hadoop . mapreduce . IDENT_3 IDENT_4 = IDENT_2 . METHOD_2 ( IDENT_5 . IDENT_6 ) ; when ( context . METHOD_3 ( IDENT_5 . IDENT_6 ) ) . thenReturn ( IDENT_4 ) ; co . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 mapper = new co . IDENT_7 . IDENT_8 . IDENT_9 . METHOD_4 ( ) ; org . apache . hadoop . io . IDENT_11 key = new org . apache . hadoop . io . METHOD_5 ( STRING_0 ) ; org . apache . hadoop . io . METHOD_5 val = new org . apache . hadoop . io . METHOD_5 ( STRING_1 ) ; mapper . IDENT_12 = false ; mapper . map ( key , val , context ) ; co . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_13 IDENT_14 = new co . IDENT_7 . IDENT_8 . IDENT_9 . METHOD_6 ( ) ; IDENT_14 . METHOD_7 ( key ) ; IDENT_14 . METHOD_8 ( false ) ; co . IDENT_7 . IDENT_8 . IDENT_15 . IDENT_16 IDENT_17 = new co . IDENT_7 . IDENT_8 . IDENT_15 . METHOD_9 ( ) ; IDENT_17 . METHOD_10 ( val ) ; verify ( context ) . write ( IDENT_17 , IDENT_14 ) ; "<AssertPlaceHolder>" ; } write ( IDENT_18 , IDENT_19 ) { METHOD_11 ( value ) ; out . write ( co . IDENT_7 . IDENT_8 . mapreduce . lib . output . IDENT_20 . IDENT_21 . IDENT_22 ) ; }
org . junit . Assert . assertEquals ( 1 , context . METHOD_3 ( IDENT_5 . IDENT_6 ) . getValue ( ) )