METHOD_0 ( ) { org . easymock . IDENT_0 < ? extends org . apache . ambari . server . security . authentication . IDENT_1 > IDENT_2 = METHOD_1 ( IDENT_3 . IDENT_4 ) ; javax . servlet . http . IDENT_5 request = METHOD_2 ( javax . servlet . http . IDENT_5 . class ) ; javax . servlet . http . IDENT_6 response = METHOD_2 ( javax . servlet . http . IDENT_6 . class ) ; javax . servlet . http . IDENT_7 session = METHOD_2 ( javax . servlet . http . IDENT_7 . class ) ; javax . servlet . IDENT_8 IDENT_9 = METHOD_2 ( javax . servlet . IDENT_8 . class ) ; expect ( request . METHOD_3 ( STRING_0 ) ) . andReturn ( STRING_1 ) . METHOD_4 ( ) ; expect ( request . METHOD_3 ( startsWith ( STRING_2 ) ) ) . andReturn ( null ) . times ( 6 ) ; expect ( request . METHOD_5 ( ) ) . andReturn ( STRING_3 ) . METHOD_4 ( ) ; expect ( request . METHOD_6 ( false ) ) . andReturn ( session ) . METHOD_4 ( ) ; expect ( request . METHOD_7 ( ) ) . andReturn ( null ) . METHOD_4 ( ) ; expect ( request . METHOD_8 ( anyString ( ) ) ) . andReturn ( null ) . METHOD_9 ( ) ; expect ( session . getId ( ) ) . andReturn ( STRING_4 ) . METHOD_4 ( ) ; expect ( IDENT_10 . METHOD_10 ( METHOD_11 ( org . springframework . security . core . IDENT_11 . class ) ) ) . METHOD_12 ( new org . apache . ambari . server . security . authentication . METHOD_13 ( STRING_5 ) ) . METHOD_4 ( ) ; expect ( configuration . METHOD_14 ( ) ) . andReturn ( METHOD_15 ( true ) ) . METHOD_4 ( ) ; IDENT_12 . METHOD_16 ( METHOD_17 ( IDENT_2 ) , eq ( request ) , eq ( response ) ) ; METHOD_18 ( ) . METHOD_4 ( ) ; IDENT_12 . METHOD_19 ( METHOD_17 ( IDENT_2 ) , eq ( request ) , eq ( response ) , METHOD_11 ( org . apache . ambari . server . security . authentication . IDENT_13 . class ) ) ; METHOD_18 ( ) . METHOD_4 ( ) ; IDENT_14 . METHOD_20 ( eq ( request ) , eq ( response ) , METHOD_11 ( org . apache . ambari . server . security . authentication . IDENT_13 . class ) ) ; METHOD_18 ( ) . METHOD_4 ( ) ; METHOD_21 ( ) ; org . apache . ambari . server . security . authentication . IDENT_1 filter = new org . apache . ambari . server . security . authentication . IDENT_15 . METHOD_22 ( IDENT_10 , IDENT_14 , configuration , IDENT_12 ) ; filter . METHOD_23 ( request , response , IDENT_9 ) ; METHOD_24 ( ) ; java . util . List < ? extends org . apache . ambari . server . security . authentication . IDENT_1 > IDENT_16 = IDENT_2 . METHOD_25 ( ) ; for ( org . apache . ambari . server . security . authentication . IDENT_1 IDENT_17 : IDENT_16 ) { "<AssertPlaceHolder>" ; } } METHOD_25 ( ) { return values ; }
org . junit . Assert . assertSame ( filter , IDENT_17 )