METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; org . IDENT_0 . IDENT_1 . IDENT_4 request = new org . IDENT_0 . IDENT_1 . METHOD_2 ( IDENT_3 ) ; request . METHOD_3 ( Locale . IDENT_5 ) ; org . IDENT_0 . controller . IDENT_6 IDENT_7 = new org . IDENT_0 . controller . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( javax . servlet . http . IDENT_8 ) { java . util . Locale IDENT_9 = null ; javax . servlet . http . IDENT_10 session = request . METHOD_6 ( false ) ; if ( session != null ) { java . lang . Object o = session . METHOD_7 ( IDENT_11 . IDENT_12 ) ; if ( o instanceof java . lang . String ) { IDENT_9 = org . IDENT_0 . util . IDENT_13 . parse ( ( ( java . lang . String ) ( o ) ) ) ; } else if ( o instanceof java . util . Locale ) { IDENT_9 = ( ( java . util . Locale ) ( o ) ) ; } } if ( IDENT_9 == null ) { IDENT_9 = IDENT_14 ; } if ( IDENT_9 == null ) { IDENT_9 = request . METHOD_8 ( ) ; if ( IDENT_9 == null ) { IDENT_9 = java . util . Locale . METHOD_9 ( ) ; } } return IDENT_9 ; }
org . junit . Assert . assertThat ( IDENT_7 . METHOD_5 ( request ) , org . hamcrest . CoreMatchers . is ( Locale . IDENT_5 ) )