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 . Locale IDENT_3 = java . util . Locale . IDENT_4 ; expect ( request . METHOD_2 ( STRING_0 ) ) . andReturn ( IDENT_2 ) ; expect ( IDENT_2 . get ( IDENT_5 . IDENT_6 ) ) . andReturn ( null ) ; expect ( request . METHOD_3 ( ) ) . andReturn ( IDENT_3 ) ; replay ( request , IDENT_2 ) ; org . apache . IDENT_0 . IDENT_3 . impl . IDENT_5 resolver = new org . apache . IDENT_0 . IDENT_3 . impl . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; verify ( request , IDENT_2 ) ; } METHOD_5 ( org . apache . IDENT_0 . request . IDENT_1 ) { java . util . Locale IDENT_7 = null ; java . util . Map < java . lang . String , java . lang . Object > session = request . METHOD_2 ( STRING_0 ) ; if ( session != null ) { IDENT_7 = ( ( java . util . Locale ) ( session . get ( org . apache . IDENT_0 . IDENT_3 . impl . METHOD_4 . IDENT_6 ) ) ) ; } if ( IDENT_7 == null ) { IDENT_7 = request . METHOD_3 ( ) ; } return IDENT_7 ; }
org . junit . Assert . assertSame ( IDENT_3 , resolver . METHOD_5 ( request ) )