METHOD_0 ( ) { co . IDENT_0 . IDENT_1 . mapreduce . sf . IDENT_2 mapper = new co . IDENT_0 . IDENT_1 . mapreduce . sf . METHOD_1 ( ) ; com . IDENT_3 . IDENT_4 . IDENT_5 conn = mock ( com . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; co . IDENT_0 . IDENT_1 . common . sf . IDENT_6 IDENT_7 = mock ( co . IDENT_0 . IDENT_1 . common . sf . IDENT_6 . class ) ; mapper . METHOD_2 ( conn ) ; mapper . METHOD_3 ( IDENT_7 ) ; org . apache . hadoop . mapreduce . IDENT_8 . Context context = mock ( IDENT_8 . Context . class ) ; com . IDENT_3 . IDENT_4 . IDENT_9 IDENT_10 = new com . IDENT_3 . IDENT_4 . METHOD_4 ( ) ; java . lang . String id = STRING_0 ; IDENT_10 . setId ( id ) ; org . apache . hadoop . io . IDENT_11 IDENT_12 = new org . apache . hadoop . io . METHOD_5 ( ) ; mapper . METHOD_6 ( IDENT_12 ) ; com . IDENT_3 . IDENT_4 . IDENT_13 info = new com . IDENT_3 . IDENT_4 . METHOD_7 ( ) ; java . lang . String IDENT_14 = STRING_1 ; info . setId ( IDENT_14 ) ; when ( IDENT_7 . METHOD_8 ( any ( org . apache . hadoop . fs . IDENT_15 . class ) , any ( com . IDENT_3 . IDENT_4 . IDENT_5 . class ) , any ( com . IDENT_3 . IDENT_4 . METHOD_7 . class ) ) ) . thenReturn ( IDENT_10 ) ; mapper . METHOD_3 ( IDENT_7 ) ; mapper . METHOD_9 ( info ) ; mapper . METHOD_10 ( new org . apache . hadoop . io . METHOD_5 ( IDENT_14 ) ) ; mapper . map ( new org . apache . hadoop . io . METHOD_5 ( STRING_2 ) , mock ( org . apache . hadoop . fs . IDENT_15 . class ) , context ) ; "<AssertPlaceHolder>" ; verify ( context , times ( 1 ) ) . write ( new org . apache . hadoop . io . METHOD_5 ( info . getId ( ) ) , IDENT_12 ) ; } toString ( ) { return ( ( ( ( STRING_3 + ( this . index ) ) + STRING_4 ) + ( this . name ) ) + STRING_5 ) + ( this . type ) ; }
org . junit . Assert . assertEquals ( id , IDENT_12 . toString ( ) )