METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; final org . openqa . selenium . server . IDENT_2 server = mock ( org . openqa . selenium . server . IDENT_2 . class ) ; final org . openqa . selenium . server . IDENT_3 IDENT_4 = mock ( org . openqa . selenium . server . IDENT_3 . class ) ; org . openqa . selenium . server . IDENT_5 handler = new org . openqa . selenium . server . METHOD_1 ( server , null ) { @ org . openqa . selenium . server . Override MOD_0 org . openqa . selenium . server . IDENT_3 METHOD_2 ( java . lang . String IDENT_6 ) { return IDENT_4 ; } @ org . openqa . selenium . server . Override MOD_0 void METHOD_3 ( java . net . URL url , java . io . File IDENT_7 ) { } } ; java . lang . String IDENT_8 = java . lang . System . getProperty ( STRING_2 ) ; int IDENT_9 = IDENT_8 . length ( ) ; if ( ( IDENT_8 . METHOD_4 ( File . IDENT_10 ) ) == ( IDENT_9 - 1 ) ) { IDENT_8 = IDENT_8 . substring ( 0 , ( IDENT_9 - 1 ) ) ; } when ( IDENT_4 . METHOD_5 ( STRING_3 , IDENT_1 , ( ( IDENT_8 + ( java . io . File . IDENT_10 ) ) + IDENT_0 ) ) ) . thenReturn ( STRING_4 ) ; java . util . IDENT_11 < java . lang . String > values = new java . util . IDENT_11 < java . lang . String > ( ) ; values . add ( IDENT_1 ) ; values . add ( ( STRING_5 + IDENT_0 ) ) ; java . lang . String result = handler . METHOD_5 ( STRING_6 , values , STRING_7 , null ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_6 ( any ( java . io . File . class ) ) ; } METHOD_5 ( java . lang . String , java . util . IDENT_11 , java . lang . String , org . openqa . IDENT_12 . http . IDENT_13 ) { org . openqa . selenium . server . METHOD_1 . log . info ( ( ( ( ( STRING_8 + IDENT_14 ) + ( values . toString ( ) ) ) + STRING_9 1 ) + IDENT_6 ) ) ; java . lang . String results = null ; switch ( org . openqa . selenium . server . IDENT_15 . getValue ( IDENT_14 ) ) { case IDENT_16 : java . lang . String IDENT_17 = values . get ( 0 ) ; java . lang . String IDENT_18 = ( ( values . size ( ) ) > 2 ) ? values . get ( 2 ) : "" ; java . lang . String IDENT_19 = ( ( values . size ( ) ) > 3 ) ? values . get ( 3 ) : "" ; try { IDENT_6 = METHOD_7 ( IDENT_17 , values . get ( 1 ) , IDENT_18 , org . openqa . selenium . server . IDENT_20 . IDENT_21 . METHOD_8 ( IDENT_19 ) ) ; org . openqa . selenium . remote . server . log . IDENT_22 . METHOD_9 ( ) . METHOD_10 ( new org . openqa . selenium . remote . METHOD_11 ( IDENT_6 ) ) ; METHOD_12 ( IDENT_6 , values . get ( 1 ) ) ; results = STRING_10 + IDENT_6 ; } catch ( org . openqa . selenium . server . IDENT_23 IDENT_24 ) { results = STRING_9 9 + IDENT_24 ; } catch ( org . openqa . selenium . server . IDENT_20 . IDENT_25 IDENT_26 ) { results = STRING_9 9 + IDENT_26 ; } catch ( java . lang . IllegalArgumentException IDENT_27 ) { results = STRING_9 9 + IDENT_27 ; } catch ( java . lang . RuntimeException IDENT_28 ) { results = STRING_9 9 + IDENT_28 ; } org . openqa . selenium . server . commands . IDENT_29 . METHOD_13 ( ) ; break ; case IDENT_30 : IDENT_31 . METHOD_14 ( IDENT_6 , IDENT_32 . METHOD_15 ( ) ) ; results = STRING_11 2 ; break ; case IDENT_33 : try { results = STRING_10 + ( org . openqa . selenium . remote . server . log . IDENT_22 . METHOD_9 ( ) . METHOD_16 ( new org . openqa . selenium . remote . METHOD_11 ( IDENT_6 ) ) ) ; } catch ( java . io . IOException IDENT_34 ) { results = ( ( STRING_9 0 + IDENT_6 ) + STRING_9 2 ) + ( IDENT_34 . getMessage ( ) ) ; } break ; case IDENT_35 : results = STRING_11 2 ; METHOD_17 ( res ) ; break ; case IDENT_36 : results = STRING_10 + ( IDENT_37 . toString ( ) ) ; IDENT_37 . METHOD_18 ( 0 ) ; break ; case IDENT_38 : results = new org . openqa . selenium . server . commands . METHOD_19 ( ) . execute ( ) ; break ; case IDENT_39 : results = new org . openqa . selenium . server . commands . METHOD_20 ( values . get ( 0 ) , IDENT_6 ) . execute ( ) ; break ; case IDENT_40 : results = new org . openqa . selenium . server . commands . METHOD_21 ( values . get ( 0 ) ) . execute ( ) ; break ; case IDENT_41 : results = new org . openqa . selenium . server . commands . METHOD_22 ( ) . execute ( ) ; break ; case IDENT_42 : results = new org . openqa . selenium . server . commands . METHOD_23 ( values . get ( 0 ) ) . execute ( ) ; break ; case IDENT_43 : results = new org . openqa . selenium . server . commands . METHOD_24 ( values . get ( 0 ) , values . get ( 1 ) ) . execute ( ) ; break ; case IDENT_44 : try { org . openqa . selenium . server . IDENT_45 . METHOD_25 ( ) . METHOD_26 ( java . lang . Integer . METHOD_27 ( values . get ( 0 ) ) ) ; results = STRING_11 2 ; } catch ( java . lang . Exception e ) { org . openqa . selenium . server . METHOD_1 . log . log ( IDENT_46 . IDENT_47 , STRING_12 , e ) ; results = STRING_13 + ( e . getMessage ( ) ) ; } break ; case IDENT_48 : try { org . openqa . selenium . server . IDENT_45 . METHOD_25 ( ) . METHOD_28 ( java . lang . Integer . METHOD_27 ( values . get ( 0 ) ) ) ; results = STRING_11 2 ; } catch ( java . lang . Exception e ) { org . openqa . selenium . server . METHOD_1 . log . log ( IDENT_46 . IDENT_47 , STRING_14 , e ) ; results = STRING_9 7 + ( e . getMessage ( ) ) ; } break ; case IDENT_49 : try { org . openqa . selenium . server . IDENT_50 r = org . openqa . selenium . server . IDENT_45 . METHOD_25 ( ) ; int IDENT_51 = java . lang . Integer . METHOD_27 ( values . get ( 0 ) ) ; r . METHOD_26 ( IDENT_51 ) ; r . METHOD_29 ( ) ; r . METHOD_28 ( IDENT_51 ) ; results = STRING_11 2 ; } catch ( java . lang . Exception e ) { org . openqa . selenium . server . METHOD_1 . log . log ( IDENT_46 . IDENT_47 , STRING_12 , e ) ; results = STRING_13 + ( e . getMessage ( ) ) ; } break ; case IDENT_52 : results = STRING_11 0 ; break ; case IDENT_53 : try { int IDENT_54 = java . lang . Integer . METHOD_27 ( values . get ( 0 ) ) ; org . openqa . selenium . server . METHOD_1 . METHOD_30 ( IDENT_6 , IDENT_54 ) ; } catch ( java . lang . IDENT_55 e ) { return ( STRING_9 + ( values . get ( 0 ) ) ) + STRING_9 6 ; } results = STRING_11 2 ; break ; case IDENT_56 : results = org . openqa . selenium . server . METHOD_1 . METHOD_31 ( IDENT_6 ) ; break ; case IDENT_57 : java . io . File IDENT_58 = new java . io . File ( values . get ( 0 ) ) ; if ( IDENT_58 . exists ( ) ) { IDENT_32 . METHOD_32 ( IDENT_58 ) ; results = STRING_11 2 ; } else { results = STRING_9 3 + ( IDENT_58 . getAbsolutePath ( ) ) ; } break ; case IDENT_59 : org . openqa . selenium . server . IDENT_60 . IDENT_61 IDENT_62 = new org . openqa . selenium . server . IDENT_60 . METHOD_33 ( IDENT_32 ) ; java . io . File output = null ; if ( ( values . size ( ) ) < 4 ) { results = STRING_11 3 ; } else { if ( ( values . size ( ) ) > 4 ) { output = new java . io . File ( values . get ( 4 ) ) ; } try { results = IDENT_62 . METHOD_34 ( values . get ( 0 ) , values . get ( 1 ) , values . get ( 2 ) , output , IDENT_32 . METHOD_15 ( ) . METHOD_35 ( ) , STRING_9 FLOAT_0 METHOD_36 ( values . get ( 3 ) ) ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; results = e . toString ( ) ; } } break ; case IDENT_63 : if ( ( values . size ( ) ) < 1 ) { results = STRING_9 8 ; } else { java . lang . String IDENT_64 = values . get ( 0 ) ; java . lang . String IDENT_65 = METHOD_37 ( ) ; org . openqa . selenium . IDENT_20 . IDENT_66 IDENT_67 = IDENT_68 . METHOD_38 ( IDENT_64 , IDENT_65 , IDENT_32 . METHOD_15 ( ) , org . openqa . selenium . server . IDENT_20 . IDENT_21 . METHOD_8 ( ) ) ; java . lang . String IDENT_69 = STRING_11 1 + ( IDENT_32 . METHOD_39 ( ) ) ; IDENT_32 . METHOD_40 ( new org . openqa . selenium . server . IDENT_70 . METHOD_41 ( IDENT_65 , IDENT_64 , IDENT_69 , IDENT_67 , null ) ) ; IDENT_67 . METHOD_42 ( STRING_15 , IDENT_69 ) ; results = STRING_11 2 ; } break ; case IDENT_71 : java . lang . String IDENT_72 = values . get ( 0 ) ; boolean IDENT_73 = true ; if ( ( STRING_9 FLOAT_1 METHOD_36 ( IDENT_72 ) ) || ( STRING_11 . equals ( IDENT_72 ) ) ) { IDENT_73 = false ; } org . openqa . selenium . server . IDENT_74 . METHOD_43 ( IDENT_73 ) ; results = STRING_11 2 ; break ; case IDENT_75 : org . openqa . selenium . server . IDENT_3 queue = METHOD_2 ( IDENT_6 ) ; try { java . io . File IDENT_76 = METHOD_44 ( values . get ( 1 ) ) ; queue . METHOD_6 ( IDENT_76 ) ; results = queue . METHOD_5 ( STRING_3 , values . get ( 0 ) , IDENT_76 . getAbsolutePath ( ) ) ; } catch ( java . lang . Exception e ) { results = e . toString ( ) ; } break ; case IDENT_77 : METHOD_45 ( IDENT_6 , values . get ( 0 ) ) ; case IDENT_78 : results = new org . openqa . selenium . server . commands . METHOD_46 ( IDENT_14 , values , IDENT_6 ) . execute ( ) ; } org . openqa . selenium . server . METHOD_1 . log . info ( METHOD_47 ( IDENT_14 , IDENT_6 , results ) ) ; return results ; }
org . junit . Assert . assertEquals ( STRING_4 , result )