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 ) { if ( IDENT_4 . containsKey ( id ) ) { return IDENT_5 ; } if ( ! ( METHOD_3 ( ) ) ) { com . tc . IDENT_6 . state . IDENT_7 . logger . info ( ( ( STRING_2 + id ) + STRING_3 ) ) ; return IDENT_8 ; } IDENT_4 . put ( id , IDENT_9 . currentTimeMillis ( ) ) ; com . tc . IDENT_6 . state . IDENT_7 . logger . info ( ( ( STRING_4 + id ) + STRING_5 ) ) ; return IDENT_10 ; }
org . junit . Assert . assertThat ( manager . METHOD_2 ( "foo" ) , org . hamcrest . Matchers . is ( org . IDENT_1 . IDENT_2 . IDENT_8 ) )