METHOD_0 ( ) { conf . set ( IDENT_0 . IDENT_1 , STRING_0 ) ; javax . servlet . http . IDENT_2 request = mock ( javax . servlet . http . IDENT_2 . class ) ; java . lang . String user = STRING_1 ; org . apache . hadoop . io . IDENT_3 IDENT_4 = new org . apache . hadoop . io . METHOD_1 ( user ) ; org . apache . hadoop . hdfs . security . token . IDENT_5 . IDENT_6 IDENT_7 = new org . apache . hadoop . hdfs . security . token . IDENT_5 . METHOD_2 ( IDENT_4 , IDENT_4 , null ) ; org . apache . hadoop . security . token . IDENT_8 < org . apache . hadoop . hdfs . security . token . IDENT_5 . METHOD_2 > token = new org . apache . hadoop . security . token . IDENT_8 < org . apache . hadoop . hdfs . security . token . IDENT_5 . METHOD_2 > ( IDENT_7 , new org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_10 . METHOD_3 ( 0 , 0 , 0 , 0 ) ) ; java . lang . String IDENT_11 = token . METHOD_4 ( ) ; when ( request . METHOD_5 ( IDENT_12 . IDENT_13 ) ) . thenReturn ( IDENT_11 ) ; when ( request . METHOD_6 ( ) ) . thenReturn ( user ) ; conf . set ( IDENT_0 . IDENT_14 , STRING_2 ) ; org . apache . hadoop . security . IDENT_15 . METHOD_7 ( conf ) ; java . net . IDENT_16 IDENT_17 = org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 . METHOD_8 ( conf ) ; org . apache . hadoop . io . METHOD_1 IDENT_19 = new org . apache . hadoop . io . METHOD_1 ( ( ( ( IDENT_17 . METHOD_8 ( ) . METHOD_9 ( ) ) + STRING_3 ) + ( IDENT_17 . METHOD_10 ( ) ) ) ) ; org . apache . hadoop . security . IDENT_15 IDENT_20 = org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_12 . METHOD_11 ( request , conf ) ; org . apache . hadoop . security . token . IDENT_8 < ? extends org . apache . hadoop . security . token . IDENT_21 > IDENT_22 = IDENT_20 . METHOD_12 ( ) . iterator ( ) . next ( ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { return service ; }
org . junit . Assert . assertEquals ( IDENT_22 . METHOD_13 ( ) , IDENT_19 )