METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( any ( ) , any ( ) ) ) . thenReturn ( true ) ; IDENT_1 = com . amazon . IDENT_2 . request . exception . mapper . impl . IDENT_3 . METHOD_2 ( com . amazon . IDENT_2 . sdk . IDENT_4 . class , com . amazon . IDENT_2 . sdk . IDENT_5 . class ) . METHOD_3 ( IDENT_0 ) . build ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( IDENT_6 , java . lang . Throwable ) { java . lang . Throwable exception = ( ex instanceof java . lang . IDENT_7 ) ? ex . METHOD_5 ( ) : ex ; for ( com . amazon . IDENT_2 . request . exception . handler . IDENT_8 < IDENT_6 , IDENT_9 > IDENT_0 : IDENT_10 ) { if ( IDENT_0 . METHOD_1 ( input , exception ) ) { return java . util . Optional . of ( IDENT_0 ) ; } } return java . util . Optional . empty ( ) ; }
org . junit . Assert . assertEquals ( java . util . Optional . of ( IDENT_0 ) , IDENT_1 . METHOD_4 ( any ( ) , any ( ) ) )