METHOD_0 ( ) { org . apache . hadoop . fs . shell . find . IDENT_0 and = new org . apache . hadoop . fs . shell . find . METHOD_1 ( ) ; org . apache . hadoop . fs . shell . IDENT_1 IDENT_2 = mock ( org . apache . hadoop . fs . shell . IDENT_1 . class ) ; org . apache . hadoop . fs . shell . find . IDENT_3 first = mock ( org . apache . hadoop . fs . shell . find . IDENT_3 . class ) ; when ( first . apply ( IDENT_2 , ( - 1 ) ) ) . thenReturn ( Result . IDENT_4 ) ; org . apache . hadoop . fs . shell . find . IDENT_3 IDENT_5 = mock ( org . apache . hadoop . fs . shell . find . IDENT_3 . class ) ; when ( IDENT_5 . apply ( IDENT_2 , ( - 1 ) ) ) . thenReturn ( Result . IDENT_4 ) ; java . util . IDENT_6 < org . apache . hadoop . fs . shell . find . IDENT_3 > IDENT_7 = new java . util . IDENT_8 < org . apache . hadoop . fs . shell . find . IDENT_3 > ( ) ; IDENT_7 . add ( IDENT_5 ) ; IDENT_7 . add ( first ) ; and . METHOD_2 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; verify ( first ) . apply ( IDENT_2 , ( - 1 ) ) ; verify ( IDENT_5 ) . apply ( IDENT_2 , ( - 1 ) ) ; METHOD_3 ( first ) ; METHOD_3 ( IDENT_5 ) ; } apply ( org . apache . hadoop . fs . shell . IDENT_1 , int ) { java . lang . String name = getPath ( item ) . getName ( ) ; if ( ! ( IDENT_9 ) ) { name = org . apache . hadoop . util . StringUtils . toLowerCase ( name ) ; } if ( IDENT_10 . matches ( name ) ) { return Result . IDENT_4 ; } else { return Result . IDENT_11 ; } }
org . junit . Assert . assertEquals ( Result . IDENT_4 , and . apply ( IDENT_2 , ( - 1 ) ) )