METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . test . IDENT_2 options = org . IDENT_0 . IDENT_1 . test . IDENT_2 . getInstance ( ) ; org . junit . IDENT_3 . METHOD_1 ( org . IDENT_0 . IDENT_1 . test . IDENT_4 . METHOD_2 ( ) ) ; final org . IDENT_0 . IDENT_1 . test . IDENT_5 IDENT_6 = new org . IDENT_0 . IDENT_1 . test . METHOD_3 ( ) ; final org . IDENT_0 . IDENT_1 . test . IDENT_7 IDENT_8 = org . IDENT_0 . IDENT_1 . test . IDENT_7 . METHOD_4 ( ( ( METHOD_5 ( ) ) + STRING_0 ) , options ) ; try { final org . IDENT_0 . IDENT_1 . core . IDENT_9 url = IDENT_8 . METHOD_6 ( ) ; final org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_11 IDENT_12 = new org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . METHOD_7 ( STRING_1 , url . METHOD_8 ( STRING_2 , false ) . toString ( ) , org . IDENT_0 . IDENT_1 . core . IDENT_10 . IDENT_13 . create ( 1 ) , org . IDENT_0 . IDENT_1 . core . IDENT_10 . IDENT_13 . IDENT_14 , false , true , true ) ; final java . lang . String replace = IDENT_12 . toString ( ) . replace ( STRING_3 , STRING_4 ) ; final org . IDENT_0 . IDENT_1 . test . IDENT_15 IDENT_16 = new org . IDENT_0 . IDENT_1 . test . METHOD_9 ( url ) ; IDENT_16 . METHOD_10 ( STRING_2 ) ; IDENT_16 . METHOD_11 ( "" , IDENT_17 . IDENT_18 , org . IDENT_0 . IDENT_1 . core . IDENT_19 . create ( replace ) ) ; IDENT_16 . commit ( ) ; final java . io . File IDENT_20 = IDENT_8 . METHOD_12 ( STRING_5 ) ; final org . IDENT_0 . IDENT_1 . test . IDENT_21 IDENT_22 = IDENT_6 . METHOD_13 ( ) ; IDENT_22 . METHOD_14 ( org . IDENT_0 . IDENT_1 . test . IDENT_23 . METHOD_15 ( url ) ) ; IDENT_22 . METHOD_16 ( org . IDENT_0 . IDENT_1 . test . IDENT_23 . METHOD_17 ( IDENT_20 ) ) ; IDENT_22 . METHOD_18 ( false ) ; IDENT_22 . run ( ) ; final java . io . File IDENT_24 = new java . io . File ( IDENT_20 , STRING_1 ) ; "<AssertPlaceHolder>" ; } finally { IDENT_6 . METHOD_19 ( ) ; IDENT_8 . METHOD_19 ( ) ; } } getType ( java . io . File ) { final boolean IDENT_25 = org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . METHOD_20 ( ) ; if ( file == null ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_27 ; } if ( ( ( ( IDENT_28 . IDENT_29 ) || ( IDENT_28 . IDENT_30 ) ) || ( IDENT_28 . IDENT_31 ) ) || ( IDENT_28 . IDENT_32 ) ) { if ( IDENT_25 ) { org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 IDENT_33 = org . IDENT_0 . IDENT_1 . core . internal . util . IDENT_34 . IDENT_35 . METHOD_21 ( file ) ; if ( IDENT_33 != null ) { return IDENT_33 ; } } } if ( ( IDENT_25 && ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_28 . METHOD_22 ( ) ) ) && ( ! ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . METHOD_23 ( file ) ) ) ) { if ( ( ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_36 ) && ( ! ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_37 ) ) ) && ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . METHOD_24 ( file ) ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_38 ; } else if ( ( ! ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_36 ) ) || ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_37 ) ) { if ( ! ( file . exists ( ) ) ) { java . io . File [ ] IDENT_39 = ( ( file . METHOD_25 ( ) ) != null ) ? org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_40 . METHOD_26 ( file . METHOD_25 ( ) ) : null ; for ( int i = 0 ; ( IDENT_39 != null ) && ( i < ( IDENT_39 . length ) ) ; i ++ ) { java . io . File child = IDENT_39 [ i ] ; if ( child . getName ( ) . equals ( file . getName ( ) ) ) { if ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . METHOD_24 ( file ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_38 ; } } } } else { java . lang . String IDENT_41 = file . getAbsolutePath ( ) ; java . lang . String IDENT_42 ; try { IDENT_42 = file . METHOD_27 ( ) ; } catch ( java . io . IOException e ) { IDENT_42 = file . getAbsolutePath ( ) ; } if ( ( ! ( IDENT_41 . equals ( IDENT_42 ) ) ) && ( org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . METHOD_24 ( file ) ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_38 ; } } } } if ( file . METHOD_28 ( ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_43 ; } else if ( file . METHOD_29 ( ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_44 ; } else if ( ! ( file . exists ( ) ) ) { return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_45 ; } return org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . IDENT_27 ; }
org . junit . Assert . assertEquals ( IDENT_26 . IDENT_43 , org . IDENT_0 . IDENT_1 . core . internal . IDENT_10 . IDENT_26 . getType ( IDENT_24 ) )