METHOD_0 ( ) { com . amazon . IDENT_0 . model . Response response = com . amazon . IDENT_0 . model . Response . builder ( ) . build ( ) ; when ( IDENT_1 . METHOD_1 ( any ( ) ) ) . thenReturn ( true ) ; when ( IDENT_1 . execute ( any ( ) , any ( ) ) ) . thenReturn ( java . util . Optional . of ( response ) ) ; com . amazon . IDENT_0 . model . IDENT_2 IDENT_3 = com . amazon . IDENT_0 . model . IDENT_2 . builder ( ) . METHOD_2 ( com . amazon . IDENT_0 . model . IDENT_4 . builder ( ) . build ( ) ) . build ( ) ; com . amazon . IDENT_0 . model . IDENT_5 IDENT_6 = IDENT_7 . invoke ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return response ; }
org . junit . Assert . assertEquals ( IDENT_6 . METHOD_3 ( ) , response )