METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( org . IDENT_1 . IDENT_2 . IDENT_3 , STRING_0 , "foo" ) ) . thenReturn ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { java . lang . Long val = IDENT_4 . METHOD_3 ( id , ( key , IDENT_5 ) -> { long IDENT_6 = IDENT_7 . currentTimeMillis ( ) ; if ( ( IDENT_6 - IDENT_5 ) < ( com . tc . IDENT_8 . state . IDENT_9 . IDENT_10 ) ) { return IDENT_6 ; } else { IDENT_11 . remove ( key ) ; IDENT_4 . remove ( key ) ; return null ; } } ) ; if ( val == null ) { return IDENT_12 ; } if ( IDENT_13 ) { return IDENT_14 ; } return IDENT_15 ; }
org . junit . Assert . assertThat ( manager . METHOD_2 ( "foo" ) , org . hamcrest . Matchers . is ( org . IDENT_1 . IDENT_2 . IDENT_12 ) )