METHOD_0 ( ) { when ( cache . METHOD_1 ( STRING_0 ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_1 . METHOD_1 ( STRING_0 ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( INT_0 ) ; when ( cache . put ( STRING_0 , IDENT_2 ) ) . thenReturn ( true ) ; org . IDENT_3 . repo . content . IDENT_4 . IDENT_5 . IDENT_6 IDENT_5 = mock ( org . IDENT_3 . repo . content . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; IDENT_7 . METHOD_3 ( IDENT_5 ) ; when ( IDENT_5 . METHOD_4 ( INT_0 ) ) . thenReturn ( true ) ; when ( IDENT_5 . METHOD_5 ( INT_0 ) ) . thenReturn ( true ) ; org . IDENT_3 . service . IDENT_8 . repository . IDENT_9 IDENT_10 = IDENT_7 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . METHOD_5 ( INT_0 ) ; } METHOD_1 ( java . lang . String ) { org . springframework . IDENT_11 . IDENT_12 . IDENT_13 . Response res = METHOD_6 ( IDENT_14 ) ; if ( ( IDENT_15 == null ) || ( IDENT_15 . equals ( res . METHOD_7 ( ) ) ) ) { return new java . io . METHOD_8 ( res . METHOD_9 ( ) ) ; } else { return new java . io . METHOD_10 ( res . METHOD_11 ( ) , IDENT_15 ) ; } }
org . junit . Assert . assertSame ( IDENT_10 , IDENT_0 )