METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . util . IDENT_2 < IDENT_3 , IDENT_4 > IDENT_5 = METHOD_1 ( ) ; final IDENT_3 key = METHOD_2 ( ) ; final IDENT_4 value = METHOD_3 ( ) ; com . IDENT_0 . IDENT_1 . util . IDENT_6 < IDENT_3 , IDENT_4 > resolver = new com . IDENT_0 . IDENT_1 . util . IDENT_6 < IDENT_3 , IDENT_4 > ( ) { @ com . IDENT_0 . IDENT_1 . util . Override public IDENT_4 find ( IDENT_3 name ) { if ( key . equals ( name ) ) { return value ; } return null ; } } ; IDENT_5 . add ( resolver ) ; IDENT_4 found = IDENT_5 . find ( key ) ; "<AssertPlaceHolder>" ; } find ( com . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 ) { com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 . LOGGER . debug ( STRING_0 , req . METHOD_4 ( ) ) ; com . IDENT_0 . IDENT_1 . util . IDENT_11 . METHOD_5 ( ( ( STRING_1 + ( req . METHOD_4 ( ) . toString ( ) ) ) + STRING_2 ) ) ; com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_12 ctx = null ; com . IDENT_0 . IDENT_1 . Response response = new com . IDENT_0 . IDENT_1 . Response ( factory . METHOD_6 ( ) , com . IDENT_0 . IDENT_1 . IDENT_13 . IDENT_14 ) ; try { ctx = METHOD_7 ( req , IDENT_15 . IDENT_16 ) ; ctx . IDENT_17 . METHOD_8 ( STRING_3 ) ; com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_18 r = METHOD_9 ( req , ctx ) ; response = new com . IDENT_0 . IDENT_1 . Response ( r ) ; if ( ( ( response . METHOD_10 ( ) ) == null ) || ( response . METHOD_10 ( ) . isEmpty ( ) ) ) { com . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_19 < com . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_20 > IDENT_21 = r . IDENT_22 ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_23 > IDENT_24 = new java . util . ArrayList ( ) ; response . METHOD_11 ( factory . METHOD_6 ( ) . METHOD_12 ( ) ) ; response . METHOD_13 ( factory . METHOD_14 ( ) , factory . METHOD_15 ( ) , req ) ; for ( ; IDENT_21 . hasNext ( ) ; ) { com . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_20 doc = IDENT_21 . next ( ) ; if ( ! ( doc . METHOD_16 ( ) ) ) { response . METHOD_17 ( doc . METHOD_18 ( ) . METHOD_19 ( ) ) ; IDENT_24 . add ( doc . METHOD_20 ( ) ) ; } else { com . IDENT_0 . IDENT_1 . IDENT_25 error = doc . METHOD_21 ( ) ; if ( error != null ) response . METHOD_22 ( ) . add ( error ) ; } } IDENT_21 . close ( ) ; response . METHOD_23 ( IDENT_24 ) ; response . METHOD_24 ( ( ( r . IDENT_26 ) == null ? 0 : r . IDENT_26 ) ) ; com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 . LOGGER . debug ( STRING_4 , response . METHOD_25 ( ) , req ) ; } } catch ( com . IDENT_0 . IDENT_1 . util . IDENT_11 e ) { com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 . LOGGER . debug ( STRING_5 , e ) ; response . METHOD_10 ( ) . add ( e ) ; } catch ( java . lang . Exception e ) { com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 . LOGGER . debug ( STRING_6 , e ) ; response . METHOD_10 ( ) . add ( com . IDENT_0 . IDENT_1 . util . IDENT_11 . get ( IDENT_27 . IDENT_28 , e ) ) ; } finally { if ( ctx != null ) { ctx . IDENT_17 . end ( STRING_3 ) ; com . IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 . IDENT_29 . debug ( STRING_7 , ctx . IDENT_17 ) ; } com . IDENT_0 . IDENT_1 . util . IDENT_11 . METHOD_26 ( ) ; } return response ; }
org . junit . Assert . assertEquals ( value , found )