METHOD_0 ( ) { java . time . IDENT_0 now = java . time . IDENT_0 . now ( ) ; org . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_1 . IDENT_2 . METHOD_1 ( 3 ) ; when ( IDENT_5 . METHOD_2 ( now ) ) . thenReturn ( null ) ; when ( IDENT_6 . METHOD_2 ( now ) ) . thenReturn ( IDENT_4 ) ; org . IDENT_1 . IDENT_2 . IDENT_3 IDENT_7 = IDENT_8 . METHOD_2 ( now ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . time . IDENT_0 ) { try { io . IDENT_9 . IDENT_10 . grpc . event . IDENT_3 token = IDENT_11 . METHOD_3 ( IDENT_12 ) . get ( ) ; if ( ( token . METHOD_4 ( ) ) < 0 ) { return null ; } return new org . IDENT_1 . IDENT_10 . IDENT_13 . event . IDENT_14 . METHOD_1 ( ( ( token . METHOD_4 ( ) ) - 1 ) ) ; } catch ( java . lang . IDENT_15 e ) { java . lang . Thread . METHOD_5 ( ) . METHOD_6 ( ) ; throw new org . IDENT_1 . IDENT_10 . IDENT_13 . event . IDENT_14 . METHOD_7 ( e . getMessage ( ) , e ) ; } catch ( java . util . concurrent . IDENT_16 e ) { throw new org . IDENT_1 . IDENT_10 . IDENT_13 . event . IDENT_14 . METHOD_7 ( e . getMessage ( ) , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_7 )