METHOD_0 ( ) { when ( request . METHOD_1 ( eq ( org . talend . components . service . rest . configuration . IDENT_0 . IDENT_1 ) ) ) . thenReturn ( Locale . IDENT_2 . METHOD_2 ( ) ) ; java . util . Locale IDENT_3 = IDENT_4 . METHOD_3 ( request ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( javax . servlet . http . IDENT_5 ) { java . util . Locale IDENT_6 = java . util . Locale . METHOD_4 ( ) ; java . lang . String IDENT_7 = request . METHOD_1 ( org . talend . components . service . rest . configuration . IDENT_0 . IDENT_1 ) ; if ( ( IDENT_6 != null ) && ( IDENT_7 == null ) ) { return IDENT_6 ; } java . util . Locale IDENT_8 ; try { IDENT_8 = new java . util . Locale . Builder ( ) . METHOD_5 ( IDENT_7 ) . build ( ) ; } catch ( java . util . IDENT_9 e ) { IDENT_8 = java . util . Locale . METHOD_4 ( ) ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( Locale . IDENT_2 , IDENT_3 )