METHOD_0 ( ) { javax . servlet . http . IDENT_0 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_0 . class ) ; org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn ( null ) ; org . mockito . Mockito . when ( request . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; javax . servlet . http . IDENT_2 response = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_2 . class ) ; final java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_3 ( ) ; javax . servlet . IDENT_5 IDENT_6 = new javax . servlet . METHOD_4 ( ) { @ org . apache . hadoop . yarn . server . IDENT_7 . IDENT_8 . Override public void METHOD_5 ( javax . servlet . IDENT_9 IDENT_10 , javax . servlet . IDENT_11 IDENT_12 ) throws java . io . IOException , javax . servlet . IDENT_13 { IDENT_4 . set ( true ) ; } } ; java . util . Map < java . lang . String , java . lang . String > params = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; params . put ( IDENT_14 . IDENT_15 , IDENT_1 ) ; params . put ( IDENT_14 . IDENT_16 , IDENT_17 ) ; javax . servlet . IDENT_18 conf = new org . apache . hadoop . yarn . server . IDENT_7 . IDENT_8 . IDENT_19 . METHOD_6 ( params ) ; javax . servlet . IDENT_20 filter = new org . apache . hadoop . yarn . server . IDENT_7 . IDENT_8 . IDENT_19 . METHOD_7 ( ) ; filter . init ( conf ) ; filter . METHOD_5 ( request , response , IDENT_6 ) ; "<AssertPlaceHolder>" ; filter . METHOD_8 ( ) ; } get ( ) { return org . hadoop . IDENT_21 . IDENT_22 . IDENT_23 . IDENT_24 . IDENT_25 . db ; }
org . junit . Assert . assertTrue ( IDENT_4 . get ( ) )