METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( java . lang . System . METHOD_2 ( STRING_0 ) , org . hamcrest . CoreMatchers . METHOD_3 ( ) ) ; javax . servlet . IDENT_1 context = org . easymock . EasyMock . METHOD_4 ( javax . servlet . IDENT_1 . class ) ; org . easymock . EasyMock . expect ( context . METHOD_5 ( STRING_1 ) ) . andReturn ( null ) ; org . easymock . EasyMock . expect ( context . METHOD_5 ( STRING_0 ) ) . andReturn ( null ) ; org . easymock . EasyMock . expect ( context . METHOD_5 ( STRING_2 ) ) . andReturn ( null ) ; org . easymock . EasyMock . expect ( context . METHOD_6 ( STRING_3 ) ) . andReturn ( STRING_4 ) ; org . easymock . EasyMock . replay ( context ) ; java . lang . System . setProperty ( STRING_1 , STRING_5 ) ; java . lang . System . METHOD_7 ( STRING_0 ) ; try { "<AssertPlaceHolder>" ; } finally { java . lang . System . METHOD_7 ( STRING_1 ) ; } } METHOD_8 ( javax . servlet . IDENT_1 ) { final java . lang . String [ ] IDENT_2 = new java . lang . String [ ] { STRING_6 , STRING_7 , STRING_8 } ; java . lang . String IDENT_3 = STRING_1 ; org . IDENT_4 . platform . IDENT_5 . METHOD_9 ( java . lang . System . getProperty ( IDENT_3 ) , ( ( IDENT_2 [ 0 ] ) + IDENT_3 ) ) ; org . IDENT_4 . platform . IDENT_5 . METHOD_9 ( IDENT_6 . METHOD_5 ( IDENT_3 ) , ( ( IDENT_2 [ 1 ] ) + IDENT_3 ) ) ; org . IDENT_4 . platform . IDENT_5 . METHOD_9 ( java . lang . System . METHOD_2 ( IDENT_3 ) , ( ( IDENT_2 [ 2 ] ) + IDENT_3 ) ) ; final java . lang . String [ ] IDENT_7 = new java . lang . String [ ] { STRING_7 2 , STRING_2 } ; java . lang . String IDENT_8 = null ; java . lang . String IDENT_9 = null ; for ( int i = 0 ; ( i < ( IDENT_7 . length ) ) && ( IDENT_8 == null ) ; i ++ ) { for ( int j = 0 ; ( j < ( IDENT_2 . length ) ) && ( IDENT_8 == null ) ; j ++ ) { java . lang . String value = null ; java . lang . String IDENT_10 = IDENT_7 [ i ] ; java . lang . String IDENT_11 = IDENT_2 [ j ] ; switch ( j ) { case 0 : value = java . lang . System . getProperty ( IDENT_10 ) ; break ; case 1 : value = IDENT_6 . METHOD_5 ( IDENT_10 ) ; break ; case 2 : value = java . lang . System . METHOD_2 ( IDENT_10 ) ; break ; } if ( ( value == null ) || ( value . equalsIgnoreCase ( STRING_7 1 ) ) ) { org . IDENT_4 . platform . IDENT_5 . LOGGER . METHOD_10 ( ( ( ( STRING_9 + IDENT_11 ) + IDENT_10 ) + STRING_7 3 ) ) ; continue ; } java . io . File IDENT_12 = new java . io . File ( value ) ; IDENT_9 = ( ( ( STRING_9 + IDENT_11 ) + IDENT_10 ) + STRING_10 ) + value ; if ( ! ( IDENT_12 . exists ( ) ) ) { org . IDENT_4 . platform . IDENT_5 . LOGGER . METHOD_11 ( ( IDENT_9 + STRING_11 ) ) ; continue ; } if ( ! ( IDENT_12 . METHOD_12 ( ) ) ) { org . IDENT_4 . platform . IDENT_5 . LOGGER . METHOD_11 ( ( IDENT_9 + STRING_12 ) ) ; continue ; } if ( ! ( IDENT_12 . METHOD_13 ( ) ) ) { org . IDENT_4 . platform . IDENT_5 . LOGGER . METHOD_11 ( ( IDENT_9 + STRING_7 0 ) ) ; continue ; } IDENT_8 = value ; } } if ( IDENT_8 == null ) { IDENT_8 = IDENT_6 . METHOD_6 ( STRING_7 4 ) ; org . IDENT_4 . platform . IDENT_5 . LOGGER . info ( ( STRING_13 + IDENT_8 ) ) ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( STRING_4 , org . IDENT_4 . platform . IDENT_5 . METHOD_8 ( context ) )