METHOD_0 ( ) { when ( cache . contains ( STRING_0 ) ) . thenReturn ( true ) ; when ( cache . METHOD_1 ( STRING_0 ) ) . thenReturn ( IDENT_0 ) ; org . IDENT_1 . service . IDENT_2 . repository . IDENT_3 IDENT_4 = IDENT_5 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 , METHOD_2 ( ) ) . METHOD_1 ( anyString ( ) ) ; } METHOD_1 ( java . lang . String ) { org . springframework . IDENT_7 . IDENT_8 . IDENT_9 . Response res = METHOD_3 ( IDENT_10 ) ; if ( ( IDENT_11 == null ) || ( IDENT_11 . equals ( res . METHOD_4 ( ) ) ) ) { return new java . io . METHOD_5 ( res . METHOD_6 ( ) ) ; } else { return new java . io . METHOD_7 ( res . METHOD_8 ( ) , IDENT_11 ) ; } }
org . junit . Assert . assertSame ( IDENT_4 , IDENT_0 )