test ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = null ; com . IDENT_0 . IDENT_1 . IDENT_4 IDENT_5 = null ; IDENT_3 = com . IDENT_0 . IDENT_1 . IDENT_2 . getInstance ( "test" ) ; IDENT_5 = com . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_0 ( IDENT_3 ) ; IDENT_3 . METHOD_1 ( new java . lang . String [ ] { } , null ) ; IDENT_5 . METHOD_2 ( ) ; com . IDENT_0 . IDENT_7 . internal . jts . IDENT_8 . METHOD_3 ( IDENT_3 ) ; com . IDENT_0 . IDENT_7 . internal . jts . IDENT_8 . METHOD_4 ( IDENT_5 ) ; org . IDENT_9 . IDENT_10 . IDENT_11 IDENT_12 = null ; org . IDENT_9 . IDENT_10 . IDENT_13 IDENT_14 = null ; org . IDENT_9 . IDENT_10 . IDENT_13 IDENT_15 = null ; java . lang . String server = STRING_0 ; boolean IDENT_16 = false ; if ( java . lang . System . getProperty ( STRING_1 ) . startsWith ( STRING_2 ) ) { server = STRING_2 1 ; } com . IDENT_0 . IDENT_1 . IDENT_17 IDENT_18 = new com . IDENT_0 . IDENT_1 . METHOD_5 ( IDENT_3 ) ; int resolver = com . IDENT_0 . IDENT_1 . METHOD_5 . METHOD_6 ( ) ; try { java . lang . String [ ] params = new java . lang . String [ 1 ] ; params [ 0 ] = com . IDENT_0 . IDENT_1 . METHOD_5 . IDENT_19 ; org . IDENT_9 . IDENT_20 . Object obj = IDENT_18 . METHOD_7 ( METHOD_5 . IDENT_21 , params , resolver ) ; params = null ; IDENT_12 = org . IDENT_9 . IDENT_10 . IDENT_22 . METHOD_8 ( obj ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_2 0 + e ) ) ; e . printStackTrace ( System . err ) ; } System . out . println ( STRING_3 ) ; try { IDENT_14 = IDENT_12 . create ( 0 ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_4 + e ) ) ; e . printStackTrace ( System . err ) ; } System . out . println ( STRING_2 3 ) ; try { IDENT_15 = IDENT_14 . METHOD_9 ( ) . METHOD_10 ( ) ; } catch ( java . lang . Exception e ) { System . err . println ( ( STRING_2 2 + e ) ) ; try { IDENT_14 . METHOD_11 ( ) . METHOD_12 ( ) ; } catch ( java . lang . Exception ex ) { } e . printStackTrace ( System . err ) ; org . junit . Assert . fail ( ) ; } try { com . IDENT_23 . IDENT_24 . IDENT_25 . jts . IDENT_26 . resources . IDENT_27 . IDENT_28 = com . IDENT_23 . IDENT_24 . IDENT_25 . jts . IDENT_29 . IDENT_30 . METHOD_8 ( IDENT_18 . METHOD_7 ( server , null , METHOD_5 . IDENT_31 ) ) ; if ( ! ( IDENT_27 . IDENT_28 . METHOD_13 ( 1 , IDENT_15 ) ) ) System . out . println ( STRING_5 ) ; else System . out . println ( STRING_6 ) ; System . out . println ( STRING_7 ) ; java . lang . Thread . sleep ( INT_0 ) ; IDENT_15 . METHOD_11 ( ) . METHOD_12 ( ) ; if ( ! IDENT_16 ) { System . out . println ( STRING_8 ) ; java . lang . Thread . sleep ( INT_0 ) ; } org . IDENT_9 . IDENT_20 . IDENT_32 value = new org . IDENT_9 . IDENT_20 . METHOD_14 ( 0 ) ; org . IDENT_9 . IDENT_10 . IDENT_33 ctx = IDENT_14 . METHOD_9 ( ) . METHOD_15 ( ) ; "<AssertPlaceHolder>" ; IDENT_14 . METHOD_11 ( ) . METHOD_12 ( ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_2 4 + e ) ) ; e . printStackTrace ( System . err ) ; } IDENT_5 . METHOD_16 ( ) ; IDENT_3 . METHOD_17 ( ) ; } get ( javax . IDENT_34 . context . spi . IDENT_35 , javax . IDENT_34 . context . spi . IDENT_36 ) { if ( ! ( METHOD_18 ( ) ) ) { throw new javax . IDENT_34 . context . METHOD_19 ( ) ; } if ( IDENT_37 == null ) { throw new java . lang . RuntimeException ( STRING_9 ) ; } javax . IDENT_34 . IDENT_38 . spi . IDENT_39 bean = ( ( javax . IDENT_34 . IDENT_38 . spi . IDENT_39 ) ( IDENT_37 ) ) ; java . util . Map beans = METHOD_20 ( ) ; java . lang . Object resource = beans . get ( bean . getId ( ) ) ; if ( resource != null ) { return ( ( T ) ( resource ) ) ; } else if ( IDENT_40 != null ) { T t = IDENT_37 . create ( IDENT_40 ) ; beans . put ( bean . getId ( ) , t ) ; return t ; } else { return null ; } }
org . junit . Assert . assertTrue ( IDENT_27 . IDENT_28 . get ( value , IDENT_14 ) )