METHOD_0 ( ) { java . util . concurrent . IDENT_0 IDENT_1 = java . util . concurrent . IDENT_2 . METHOD_1 ( ) ; java . util . concurrent . IDENT_0 IDENT_3 = java . util . concurrent . IDENT_2 . METHOD_1 ( ) ; try { com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . METHOD_2 ( com . google . common . base . Optional . of ( new com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . METHOD_3 ( IDENT_3 , IDENT_1 ) ) , new com . IDENT_9 . metrics . METHOD_4 ( ) ) ; com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . IDENT_10 IDENT_6 = mock ( com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . IDENT_10 . class ) ; when ( IDENT_6 . METHOD_5 ( METHOD_6 ( ) , eq ( STRING_0 ) , eq ( java . time . IDENT_11 . METHOD_7 ( 10 ) ) , eq ( 100 ) ) ) . METHOD_8 ( new java . lang . RuntimeException ( STRING_1 ) ) ; final java . io . StringWriter out = new java . io . StringWriter ( ) ; final java . util . concurrent . atomic . IDENT_12 IDENT_13 = new java . util . concurrent . atomic . METHOD_9 ( false ) ; javax . servlet . http . IDENT_14 request = METHOD_10 ( out , IDENT_13 ) ; try { com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . IDENT_15 helper = new com . IDENT_4 . IDENT_5 . web . resources . IDENT_6 . METHOD_11 ( IDENT_16 . IDENT_17 . class ) ; IDENT_8 . METHOD_5 ( METHOD_12 ( ) , IDENT_6 , STRING_0 , java . time . IDENT_11 . METHOD_7 ( 10 ) , 100 , request , false , helper ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( java . lang . RuntimeException e ) { "<AssertPlaceHolder>" ; } verify ( request , METHOD_13 ( ) ) . METHOD_14 ( ) ; } finally { IDENT_1 . METHOD_15 ( ) ; IDENT_3 . METHOD_15 ( ) ; } } METHOD_12 ( ) { com . IDENT_4 . IDENT_5 . auth . jersey . IDENT_18 subject = mock ( com . IDENT_4 . IDENT_5 . auth . jersey . IDENT_18 . class ) ; when ( subject . METHOD_16 ( ) ) . thenReturn ( test . integration . IDENT_6 . IDENT_19 . IDENT_20 ) ; when ( subject . getId ( ) ) . thenReturn ( test . integration . IDENT_6 . IDENT_19 . IDENT_21 ) ; return subject ; }
org . junit . Assert . assertEquals ( e . getMessage ( ) , STRING_1 )