METHOD_0 ( ) { org . apache . hadoop . fs . shell . find . IDENT_0 IDENT_1 = new org . apache . hadoop . fs . shell . find . METHOD_1 ( ) ; java . io . IDENT_2 out = mock ( java . io . IDENT_2 . class ) ; org . apache . hadoop . fs . shell . find . IDENT_3 options = new org . apache . hadoop . fs . shell . find . METHOD_2 ( ) ; options . METHOD_3 ( out ) ; IDENT_1 . METHOD_4 ( options ) ; java . lang . String IDENT_4 = STRING_0 ; org . apache . hadoop . fs . shell . IDENT_5 item = new org . apache . hadoop . fs . shell . METHOD_5 ( IDENT_4 , IDENT_6 . METHOD_6 ( ) ) ; "<AssertPlaceHolder>" ; verify ( out ) . METHOD_7 ( ( IDENT_4 + STRING_1 ) ) ; METHOD_8 ( out ) ; } apply ( org . apache . hadoop . fs . shell . METHOD_5 , int ) { java . lang . String name = getPath ( item ) . getName ( ) ; if ( ! ( IDENT_7 ) ) { name = org . apache . hadoop . util . StringUtils . toLowerCase ( name ) ; } if ( IDENT_8 . matches ( name ) ) { return Result . IDENT_9 ; } else { return Result . IDENT_10 ; } }
org . junit . Assert . assertEquals ( Result . IDENT_9 , METHOD_7 . apply ( item , ( - 1 ) ) )