METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . dao . IDENT_2 < java . util . Locale > dao = METHOD_1 ( org . apache . IDENT_0 . IDENT_1 . dao . IDENT_2 . class ) ; org . apache . IDENT_0 . IDENT_3 . IDENT_4 IDENT_5 = METHOD_1 ( org . apache . IDENT_0 . IDENT_3 . IDENT_4 . class ) ; org . apache . IDENT_0 . request . IDENT_6 request = METHOD_1 ( org . apache . IDENT_0 . request . IDENT_6 . class ) ; org . apache . IDENT_0 . IDENT_7 IDENT_8 = org . apache . IDENT_0 . IDENT_7 . METHOD_2 ( STRING_0 ) ; org . apache . IDENT_0 . IDENT_9 IDENT_1 = new org . apache . IDENT_0 . METHOD_3 ( STRING_1 , null , null ) ; IDENT_1 . METHOD_4 ( STRING_2 ) ; java . util . Map < java . lang . String , org . apache . IDENT_0 . IDENT_7 > attributes = new java . util . HashMap < java . lang . String , org . apache . IDENT_0 . IDENT_7 > ( ) ; attributes . put ( STRING_3 , new org . apache . IDENT_0 . METHOD_5 ( STRING_4 ) ) ; org . apache . IDENT_0 . METHOD_3 IDENT_10 = new org . apache . IDENT_0 . METHOD_3 ( STRING_2 , IDENT_8 , attributes ) ; java . util . Locale IDENT_3 = java . util . Locale . IDENT_11 ; expect ( IDENT_5 . METHOD_6 ( request ) ) . andReturn ( IDENT_3 ) ; expect ( dao . METHOD_7 ( STRING_1 , IDENT_3 ) ) . andReturn ( IDENT_1 ) ; expect ( dao . METHOD_7 ( STRING_2 , IDENT_3 ) ) . andReturn ( IDENT_10 ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_12 factory = new org . apache . IDENT_0 . IDENT_1 . METHOD_8 ( ) ; replay ( dao , IDENT_5 , request ) ; factory . METHOD_9 ( dao ) ; factory . METHOD_10 ( IDENT_5 ) ; org . apache . IDENT_0 . METHOD_3 IDENT_13 = new org . apache . IDENT_0 . METHOD_3 ( IDENT_1 ) ; IDENT_13 . METHOD_11 ( IDENT_10 ) ; "<AssertPlaceHolder>" ; verify ( dao , IDENT_5 , request ) ; } METHOD_7 ( java . lang . String , org . apache . IDENT_0 . request . IDENT_6 ) { return container . METHOD_7 ( IDENT_14 , request ) ; }
org . junit . Assert . assertEquals ( IDENT_13 , factory . METHOD_7 ( STRING_1 , request ) )