METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . http . IDENT_2 IDENT_3 = METHOD_1 ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . Map < java . lang . String , java . lang . Object > IDENT_4 = new com . IDENT_0 . IDENT_1 . HashMap ( ) ; IDENT_4 . put ( "name" , STRING_1 ) ; when ( IDENT_3 . attributes ( ) ) . thenReturn ( IDENT_4 ) ; com . IDENT_0 . IDENT_1 . http . IDENT_2 request = new com . IDENT_0 . IDENT_1 . http . METHOD_2 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { return METHOD_3 . get ( key ) ; }
org . junit . Assert . assertEquals ( STRING_1 , request . METHOD_3 ( "name" ) )