METHOD_0 ( ) { org . IDENT_0 . util . property . IDENT_1 IDENT_2 = METHOD_1 ( org . IDENT_0 . util . property . IDENT_1 . class ) ; expect ( IDENT_2 . get ( STRING_0 ) ) . andReturn ( null ) ; expect ( IDENT_2 . get ( STRING_1 ) ) . andReturn ( null ) ; expect ( IDENT_2 . get ( STRING_2 ) ) . andReturn ( STRING_3 ) . METHOD_2 ( ) ; replay ( IDENT_2 ) ; org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . IDENT_5 config = new org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . METHOD_3 ( IDENT_2 , org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . IDENT_6 . IDENT_7 ) ; org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . IDENT_8 IDENT_9 = config . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) ; } METHOD_4 ( ) { if ( ! ( contains ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) ) ) ) { java . lang . String spec = IDENT_13 . get ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) ) ; if ( ( spec == null ) && ( ( IDENT_14 ) != null ) ) { spec = IDENT_14 . METHOD_4 ( ) ; } if ( spec == null ) { spec = java . lang . System . getProperty ( STRING_4 ) ; if ( spec != null ) { if ( ! ( new java . io . File ( spec ) . METHOD_5 ( ) ) ) { org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . METHOD_3 . LOGGER . warn ( ( ( STRING_5 + spec ) + STRING_6 ) ) ; spec = null ; } } } if ( spec == null ) { spec = ( java . lang . System . getProperty ( STRING_7 ) ) + STRING_8 ; } if ( ! ( spec . toLowerCase ( ) . contains ( STRING_9 ) ) ) { spec += STRING_9 ; } spec += STRING_10 ; try { return set ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) , new org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . METHOD_6 ( spec ) ) ; } catch ( java . net . IDENT_15 e ) { try { return set ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) , new org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . METHOD_6 ( new java . io . File ( spec ) . METHOD_7 ( ) . METHOD_8 ( ) ) ) ; } catch ( java . net . IDENT_15 IDENT_16 ) { org . IDENT_0 . IDENT_3 . url . IDENT_4 . internal . config . METHOD_3 . LOGGER . warn ( ( ( STRING_11 + spec ) + STRING_12 ) ) ; return set ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) , null ) ; } } } return get ( ( ( IDENT_10 ) + ( org . IDENT_0 . IDENT_3 . url . IDENT_4 . IDENT_11 . IDENT_12 ) ) ) ; }
org . junit . Assert . assertNotNull ( IDENT_9 )