METHOD_0 ( ) { org . apache . hadoop . security . authentication . server . IDENT_0 filter = new org . apache . hadoop . security . authentication . server . METHOD_1 ( ) ; try { javax . servlet . IDENT_1 config = org . mockito . Mockito . mock ( javax . servlet . IDENT_1 . class ) ; org . mockito . Mockito . when ( config . METHOD_2 ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; org . mockito . Mockito . when ( config . METHOD_2 ( METHOD_1 . IDENT_2 ) ) . thenReturn ( org . apache . hadoop . security . authentication . server . IDENT_3 . IDENT_4 . class . getName ( ) ) ; org . mockito . Mockito . when ( config . METHOD_2 ( METHOD_1 . IDENT_5 ) ) . thenReturn ( STRING_2 ) ; org . mockito . Mockito . when ( config . METHOD_3 ( ) ) . thenReturn ( new java . util . IDENT_6 < java . lang . String > ( java . util . Arrays . asList ( METHOD_1 . IDENT_2 , METHOD_1 . IDENT_5 , STRING_0 ) ) . elements ( ) ) ; org . apache . hadoop . security . authentication . util . IDENT_7 IDENT_8 = org . apache . hadoop . security . authentication . server . IDENT_3 . METHOD_4 ( config ) ; filter . init ( config ) ; org . apache . hadoop . security . authentication . server . IDENT_9 token = new org . apache . hadoop . security . authentication . server . METHOD_5 ( STRING_3 , STRING_4 , org . apache . hadoop . security . authentication . server . IDENT_3 . IDENT_4 . IDENT_10 ) ; token . METHOD_6 ( ( ( java . lang . System . currentTimeMillis ( ) ) + ( org . apache . hadoop . security . authentication . server . IDENT_3 . IDENT_11 ) ) ) ; org . apache . hadoop . security . authentication . util . IDENT_12 IDENT_13 = new org . apache . hadoop . security . authentication . util . METHOD_7 ( IDENT_8 ) ; java . lang . String IDENT_14 = IDENT_13 . METHOD_8 ( token . toString ( ) ) ; javax . servlet . http . IDENT_15 IDENT_16 = new javax . servlet . http . METHOD_9 ( org . apache . hadoop . security . authentication . client . IDENT_17 . IDENT_18 , IDENT_14 ) ; javax . servlet . http . IDENT_19 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_19 . class ) ; org . mockito . Mockito . when ( request . METHOD_10 ( ) ) . thenReturn ( new javax . servlet . http . METHOD_9 [ ] { IDENT_16 } ) ; org . apache . hadoop . security . authentication . server . METHOD_5 IDENT_20 = filter . METHOD_11 ( request ) ; "<AssertPlaceHolder>" ; } finally { filter . METHOD_12 ( ) ; } } toString ( ) { java . lang . StringBuilder buffer = new java . lang . StringBuilder ( ) ; buffer . append ( STRING_5 ) ; buffer . append ( IDENT_21 . toString ( ) ) ; buffer . append ( STRING_6 ) ; buffer . append ( service . toString ( ) ) ; buffer . append ( STRING_7 ) ; METHOD_13 ( buffer ) ; return buffer . toString ( ) ; }
org . junit . Assert . assertEquals ( token . toString ( ) , IDENT_20 . toString ( ) )