METHOD_0 ( ) { final java . lang . String key = STRING_0 ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; when ( IDENT_4 . get ( key ) ) . thenReturn ( STRING_1 ) ; org . IDENT_5 . api . mockito . IDENT_6 . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) . METHOD_2 ( java . util . IDENT_7 . class ) . METHOD_3 ( IDENT_8 ) . thenReturn ( IDENT_4 ) ; when ( com . IDENT_9 . IDENT_10 . commons . models . IDENT_11 . impl . IDENT_12 . METHOD_4 ( resource ) ) . thenReturn ( IDENT_13 ) ; when ( IDENT_14 . METHOD_5 ( Locale . IDENT_15 ) ) . thenReturn ( IDENT_8 ) ; java . lang . String IDENT_16 = IDENT_17 . METHOD_6 ( key , resource ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . String , javax . servlet . http . IDENT_18 ) { return com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . get ( request , key ) ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_16 )