METHOD_0 ( ) { org . apache . IDENT_0 . request . IDENT_1 request = METHOD_1 ( org . apache . IDENT_0 . request . IDENT_1 . class ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_2 = METHOD_1 ( java . util . Map . class ) ; java . util . IDENT_3 < org . apache . IDENT_0 . IDENT_4 > IDENT_5 = METHOD_1 ( java . util . IDENT_3 . class ) ; org . apache . IDENT_0 . IDENT_4 IDENT_6 = METHOD_1 ( org . apache . IDENT_0 . IDENT_4 . class ) ; expect ( request . METHOD_2 ( STRING_0 ) ) . andReturn ( IDENT_2 ) ; expect ( IDENT_2 . get ( org . apache . IDENT_0 . impl . IDENT_7 . IDENT_8 ) ) . andReturn ( IDENT_5 ) ; expect ( IDENT_5 . isEmpty ( ) ) . andReturn ( false ) ; expect ( IDENT_5 . METHOD_3 ( ) ) . andReturn ( IDENT_6 ) ; replay ( IDENT_9 , IDENT_10 , IDENT_11 , IDENT_12 , IDENT_13 , request , IDENT_2 , IDENT_5 , IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_9 , IDENT_10 , IDENT_11 , IDENT_12 , IDENT_13 , request , IDENT_2 , IDENT_5 , IDENT_6 ) ; } METHOD_2 ( org . apache . IDENT_0 . request . IDENT_1 ) { java . util . IDENT_3 < org . apache . IDENT_0 . IDENT_4 > IDENT_14 = METHOD_4 ( IDENT_15 ) ; if ( ! ( IDENT_14 . isEmpty ( ) ) ) { return IDENT_14 . METHOD_3 ( ) ; } return null ; }
org . junit . Assert . assertEquals ( IDENT_6 , container . METHOD_2 ( request ) )