METHOD_0 ( ) { expect ( IDENT_0 . METHOD_1 ( STRING_0 ) ) . andReturn ( "value" ) ; replay ( IDENT_0 , config ) ; org . apache . IDENT_1 . web . util . IDENT_2 adapter = new org . apache . IDENT_1 . web . util . METHOD_2 ( config ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { org . apache . IDENT_1 . IDENT_3 IDENT_4 = null ; if ( ( attributes ) != null ) { IDENT_4 = attributes . get ( name ) ; } if ( ( IDENT_4 == null ) && ( ( IDENT_5 ) != null ) ) { IDENT_4 = IDENT_5 . get ( name ) ; } return IDENT_4 ; }
org . junit . Assert . assertEquals ( "value" , adapter . METHOD_1 ( STRING_0 ) )