METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . web . token . transaction . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . web . token . transaction . METHOD_1 ( ) ; javax . servlet . IDENT_4 . IDENT_5 IDENT_6 = mock ( javax . servlet . IDENT_4 . IDENT_5 . class ) ; IDENT_3 . METHOD_2 ( IDENT_6 ) ; javax . servlet . http . IDENT_7 request = mock ( javax . servlet . http . IDENT_7 . class ) ; org . IDENT_0 . IDENT_1 . web . token . transaction . IDENT_8 token = new org . IDENT_0 . IDENT_1 . web . token . transaction . METHOD_3 ( STRING_0 , STRING_1 , STRING_2 ) ; org . springframework . web . servlet . IDENT_9 . IDENT_10 . IDENT_11 IDENT_12 = mock ( org . springframework . web . servlet . IDENT_9 . IDENT_10 . IDENT_11 . class ) ; when ( ( ( javax . servlet . http . IDENT_7 ) ( IDENT_6 . METHOD_4 ( ) ) ) ) . thenReturn ( request ) ; when ( ( ( org . IDENT_0 . IDENT_1 . web . token . transaction . METHOD_3 ) ( request . METHOD_5 ( IDENT_13 . IDENT_14 ) ) ) ) . thenReturn ( token ) ; int result = 1 ; try { METHOD_6 ( new javax . servlet . IDENT_4 . METHOD_7 ( ) ) . when ( IDENT_12 ) . METHOD_8 ( anyString ( ) ) ; result = IDENT_3 . METHOD_9 ( IDENT_12 ) ; } catch ( javax . servlet . IDENT_4 . METHOD_7 e ) { e . printStackTrace ( ) ; } "<AssertPlaceHolder>" ; } METHOD_9 ( org . springframework . web . servlet . IDENT_9 . IDENT_10 . IDENT_11 ) { javax . servlet . http . IDENT_7 request = ( ( javax . servlet . http . IDENT_7 ) ( IDENT_6 . METHOD_4 ( ) ) ) ; org . IDENT_0 . IDENT_1 . web . token . transaction . METHOD_3 IDENT_15 = ( ( org . IDENT_0 . IDENT_1 . web . token . transaction . METHOD_3 ) ( request . METHOD_5 ( IDENT_13 . IDENT_14 ) ) ) ; if ( IDENT_15 != null ) { IDENT_12 . METHOD_8 ( STRING_3 ) ; IDENT_12 . METHOD_10 ( STRING_4 , STRING_5 ) ; IDENT_12 . METHOD_10 ( "name" , IDENT_13 . IDENT_16 ) ; IDENT_12 . METHOD_10 ( "value" , IDENT_15 . METHOD_11 ( ) ) ; IDENT_12 . METHOD_12 ( ) ; } return IDENT_17 ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( 1 ) )