METHOD_0 ( ) { org . easymock . IDENT_0 < ? extends org . apache . ambari . server . security . authentication . IDENT_1 > IDENT_2 = METHOD_1 ( IDENT_3 . IDENT_4 ) ; com . IDENT_5 . IDENT_6 . IDENT_7 token = METHOD_2 ( ) ; org . apache . ambari . server . configuration . Configuration configuration = METHOD_3 ( org . apache . ambari . server . configuration . Configuration . class ) ; org . apache . ambari . server . security . authentication . IDENT_6 . IDENT_8 IDENT_9 = METHOD_3 ( org . apache . ambari . server . security . authentication . IDENT_6 . IDENT_8 . class ) ; expect ( IDENT_9 . get ( ) ) . andReturn ( METHOD_4 ( ) ) . METHOD_5 ( ) ; javax . servlet . http . IDENT_10 request = METHOD_3 ( javax . servlet . http . IDENT_10 . class ) ; javax . servlet . http . IDENT_11 response = METHOD_3 ( javax . servlet . http . IDENT_11 . class ) ; javax . servlet . IDENT_12 IDENT_13 = METHOD_3 ( javax . servlet . IDENT_12 . class ) ; javax . servlet . http . IDENT_14 IDENT_15 = METHOD_3 ( javax . servlet . http . IDENT_14 . class ) ; expect ( IDENT_15 . getName ( ) ) . andReturn ( STRING_0 ) . METHOD_6 ( ) ; expect ( IDENT_15 . getValue ( ) ) . andReturn ( token . serialize ( ) ) . METHOD_6 ( ) ; expect ( request . METHOD_7 ( ) ) . andReturn ( new javax . servlet . http . IDENT_14 [ ] { IDENT_15 } ) . METHOD_6 ( ) ; org . apache . ambari . server . security . authorization . IDENT_16 IDENT_17 = METHOD_3 ( org . apache . ambari . server . security . authorization . IDENT_16 . class ) ; expect ( IDENT_17 . METHOD_8 ( STRING_1 ) ) . andReturn ( null ) . METHOD_6 ( ) ; org . apache . ambari . server . security . authentication . IDENT_18 IDENT_19 = METHOD_9 ( org . apache . ambari . server . security . authentication . IDENT_18 . class ) ; IDENT_19 . METHOD_10 ( METHOD_11 ( IDENT_2 ) , eq ( request ) , eq ( response ) ) ; METHOD_12 ( ) . METHOD_6 ( ) ; IDENT_19 . METHOD_13 ( METHOD_11 ( IDENT_2 ) , eq ( request ) , eq ( response ) , METHOD_14 ( org . apache . ambari . server . security . authentication . IDENT_20 . class ) ) ; METHOD_12 ( ) . METHOD_6 ( ) ; org . springframework . security . web . IDENT_21 IDENT_22 = METHOD_9 ( org . apache . ambari . server . security . IDENT_23 . class ) ; IDENT_22 . METHOD_15 ( eq ( request ) , eq ( response ) , METHOD_14 ( org . apache . ambari . server . security . authentication . IDENT_20 . class ) ) ; METHOD_12 ( ) . METHOD_6 ( ) ; METHOD_16 ( ) ; org . apache . ambari . server . security . authentication . IDENT_6 . IDENT_24 provider = new org . apache . ambari . server . security . authentication . IDENT_6 . METHOD_17 ( IDENT_17 , configuration ) ; org . apache . ambari . server . security . authentication . IDENT_6 . IDENT_25 filter = new org . apache . ambari . server . security . authentication . IDENT_6 . METHOD_18 ( IDENT_22 , IDENT_9 , provider , IDENT_19 ) ; filter . METHOD_19 ( request , response , IDENT_13 ) ; METHOD_20 ( ) ; java . util . List < ? extends org . apache . ambari . server . security . authentication . IDENT_1 > IDENT_26 = IDENT_2 . METHOD_21 ( ) ; for ( org . apache . ambari . server . security . authentication . IDENT_1 IDENT_27 : IDENT_26 ) { "<AssertPlaceHolder>" ; } } METHOD_21 ( ) { return values ; }
org . junit . Assert . assertSame ( filter , IDENT_27 )