METHOD_0 ( ) { java . io . File IDENT_0 = java . io . File . METHOD_1 ( STRING_0 , STRING_1 ) ; IDENT_0 . METHOD_2 ( ) ; java . lang . Long IDENT_1 = INT_0 ; java . lang . String extension = org . apache . commons . io . IDENT_2 . METHOD_3 ( IDENT_0 . getAbsolutePath ( ) ) ; java . lang . String IDENT_3 = java . lang . String . format ( STRING_2 , IDENT_1 , extension ) ; java . lang . String IDENT_4 = STRING_3 ; java . lang . String IDENT_5 = "test" ; IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_10 IDENT_11 = mock ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_10 . class ) ; when ( IDENT_11 . METHOD_4 ( ) ) . thenReturn ( IDENT_0 . getAbsolutePath ( ) ) ; when ( IDENT_11 . METHOD_3 ( ) ) . thenReturn ( extension ) ; IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_12 IDENT_13 = mock ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_12 . class ) ; when ( IDENT_13 . getId ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_13 . METHOD_5 ( ) ) . thenReturn ( true ) ; when ( IDENT_13 . METHOD_6 ( IDENT_5 ) ) . thenReturn ( IDENT_11 ) ; IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_14 IDENT_15 = new IDENT_6 . IDENT_7 . IDENT_8 . core . content . METHOD_7 ( ) ; IDENT_15 . METHOD_8 ( IDENT_13 ) ; IDENT_15 . METHOD_9 ( IDENT_4 ) ; IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_16 IDENT_17 = IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_19 . METHOD_10 ( 1L ) ; IDENT_17 . METHOD_11 ( ) . add ( IDENT_15 ) ; IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_20 IDENT_21 = new IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . METHOD_12 ( STRING_4 , IDENT_0 , IDENT_3 ) ; java . util . Map < java . lang . String , java . lang . Object > expected = new java . util . IDENT_22 < java . lang . String , java . lang . Object > ( ) ; expected . put ( java . lang . String . format ( STRING_5 , 0 ) , IDENT_21 ) ; expected . put ( java . lang . String . format ( STRING_6 , 0 ) , IDENT_4 ) ; expected . put ( java . lang . String . format ( STRING_7 , 0 ) , IDENT_4 ) ; java . util . Map < java . lang . String , java . lang . Object > actual = IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . METHOD_13 ( IDENT_17 , IDENT_5 , null ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_16 , java . lang . String , java . lang . String [ ] ) { java . util . Map < java . lang . String , java . lang . Object > METHOD_13 = new java . util . IDENT_22 < java . lang . String , java . lang . Object > ( ) ; org . apache . IDENT_24 . IDENT_25 IDENT_24 = new org . apache . IDENT_24 . METHOD_14 ( ) ; int index = 0 ; for ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . METHOD_7 IDENT_26 : IDENT_17 . METHOD_11 ( ) ) { IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_12 IDENT_13 = IDENT_26 . METHOD_15 ( ) ; if ( ( IDENT_13 != null ) && ( IDENT_13 . METHOD_5 ( ) ) ) { try { IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_10 IDENT_11 = null ; if ( IDENT_27 != null ) { for ( java . lang . String IDENT_28 : IDENT_27 ) { try { IDENT_11 = IDENT_13 . METHOD_6 ( IDENT_28 ) ; break ; } catch ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . IDENT_29 ex ) { } } if ( IDENT_11 == null ) { throw new IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . METHOD_16 ( ) ; } } else { IDENT_11 = IDENT_13 . METHOD_6 ( IDENT_5 ) ; } java . io . File file = new java . io . File ( IDENT_11 . METHOD_4 ( ) ) ; java . lang . String IDENT_30 = IDENT_24 . METHOD_17 ( file ) ; java . lang . String IDENT_3 = java . lang . String . format ( STRING_2 , IDENT_13 . getId ( ) , IDENT_11 . METHOD_3 ( ) ) ; IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . METHOD_12 IDENT_21 = new IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . METHOD_12 ( IDENT_30 , file , IDENT_3 . toLowerCase ( ) ) ; java . lang . String IDENT_31 = org . apache . commons . lang . StringUtils . METHOD_18 ( IDENT_26 . METHOD_19 ( ) , IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . IDENT_32 ) ; java . lang . String IDENT_33 = org . apache . commons . lang . StringUtils . METHOD_18 ( IDENT_26 . METHOD_19 ( ) , IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . IDENT_34 ) ; METHOD_13 . put ( java . lang . String . format ( STRING_5 , index ) , IDENT_21 ) ; METHOD_13 . put ( java . lang . String . format ( STRING_6 , index ) , IDENT_31 ) ; METHOD_13 . put ( java . lang . String . format ( STRING_7 , index ) , IDENT_33 ) ; index ++ ; } catch ( IDENT_6 . IDENT_7 . IDENT_8 . core . content . IDENT_9 . METHOD_16 ex ) { IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . LOG . log ( IDENT_35 . IDENT_36 , STRING_8 , new java . lang . Object [ ] { IDENT_13 . getId ( ) , IDENT_5 } ) ; } catch ( java . io . IOException ex ) { IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . LOG . log ( IDENT_35 . IDENT_36 , STRING_9 , new java . lang . Object [ ] { IDENT_13 . getId ( ) , ex . getMessage ( ) } ) ; IDENT_6 . IDENT_7 . IDENT_8 . plugins . IDENT_18 . IDENT_23 . LOG . log ( IDENT_35 . IDENT_37 , null , ex ) ; } } } return METHOD_13 ; }
org . junit . Assert . assertEquals ( expected , actual )