METHOD_0 ( ) { final com . amazonaws . services . IDENT_0 . IDENT_1 client = new com . amazonaws . services . IDENT_0 . METHOD_1 ( this . IDENT_2 ) ; final com . amazonaws . services . IDENT_0 . IDENT_3 item = client . METHOD_2 ( com . amazonaws . services . IDENT_0 . IDENT_4 ) ; org . mockito . Mockito . METHOD_3 ( IDENT_5 . amazon . IDENT_6 . core . exception . IDENT_7 . builder ( ) . message ( STRING_0 ) . build ( ) ) . when ( IDENT_8 ) . METHOD_4 ( org . mockito . Mockito . any ( IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_10 . class ) ) ; final com . amazonaws . services . IDENT_0 . IDENT_11 options = com . amazonaws . services . IDENT_0 . IDENT_11 . builder ( item ) . METHOD_5 ( true ) . build ( ) ; "<AssertPlaceHolder>" ; client . close ( ) ; } METHOD_6 ( com . amazonaws . services . IDENT_0 . IDENT_11 ) { java . util . IDENT_12 . METHOD_7 ( options , STRING_1 ) ; final com . amazonaws . services . IDENT_0 . IDENT_3 IDENT_13 = options . METHOD_8 ( ) ; final boolean IDENT_14 = options . METHOD_9 ( ) ; final boolean IDENT_15 = options . METHOD_10 ( ) ; final java . util . Optional < java . nio . ByteBuffer > data = options . METHOD_11 ( ) ; java . util . IDENT_12 . METHOD_7 ( IDENT_13 , STRING_2 ) ; if ( ! ( IDENT_13 . METHOD_12 ( ) . equals ( this . IDENT_16 ) ) ) { return false ; } MOD_0 ( IDENT_13 ) { try { this . IDENT_17 . remove ( IDENT_13 . METHOD_13 ( ) ) ; final java . lang . String IDENT_18 ; final java . util . Map < java . lang . String , IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_19 > IDENT_20 = new java . util . HashMap ( ) ; IDENT_20 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_21 , IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_19 . builder ( ) . s ( IDENT_13 . METHOD_14 ( ) ) . build ( ) ) ; IDENT_20 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_22 , IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_19 . builder ( ) . s ( IDENT_13 . METHOD_12 ( ) ) . build ( ) ) ; final java . util . Map < java . lang . String , java . lang . String > IDENT_23 = new java . util . HashMap ( ) ; IDENT_23 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_24 , IDENT_25 ) ; IDENT_23 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_26 , com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_27 ) ; IDENT_23 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_28 , com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_29 ) ; if ( this . IDENT_30 . METHOD_15 ( ) ) { IDENT_18 = com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_31 ; IDENT_23 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_32 , IDENT_30 . get ( ) ) ; } else { IDENT_18 = com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_33 ; } final java . util . Map < java . lang . String , IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_19 > key = METHOD_16 ( IDENT_13 ) ; if ( IDENT_14 ) { final IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_10 IDENT_34 = IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_10 . builder ( ) . tableName ( tableName ) . key ( key ) . METHOD_17 ( IDENT_18 ) . METHOD_18 ( METHOD_18 ) . METHOD_19 ( METHOD_19 ) . build ( ) ; this . IDENT_35 . METHOD_4 ( IDENT_34 ) ; } else { final java . lang . String IDENT_36 ; METHOD_18 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_37 , com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_38 ) ; METHOD_19 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_39 , com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_40 ) ; if ( data . METHOD_15 ( ) ) { IDENT_36 = com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_41 ; METHOD_18 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_42 , com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_43 ) ; METHOD_19 . put ( com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_44 , IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_19 . builder ( ) . b ( IDENT_5 . amazon . IDENT_6 . core . IDENT_45 . METHOD_20 ( data . get ( ) ) ) . build ( ) ) ; } else { IDENT_36 = com . amazonaws . services . IDENT_0 . METHOD_1 . IDENT_46 ; } final IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_47 IDENT_48 = IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_47 . builder ( ) . tableName ( this . tableName ) . key ( key ) . METHOD_21 ( METHOD_21 ) . METHOD_17 ( IDENT_18 ) . METHOD_18 ( METHOD_18 ) . METHOD_19 ( METHOD_19 ) . build ( ) ; this . IDENT_35 . METHOD_22 ( IDENT_48 ) ; } } catch ( final IDENT_5 . amazon . IDENT_6 . services . IDENT_9 . model . IDENT_49 IDENT_50 ) { com . amazonaws . services . IDENT_0 . METHOD_1 . logger . debug ( STRING_3 , IDENT_50 ) ; return false ; } catch ( final IDENT_5 . amazon . IDENT_6 . core . exception . IDENT_7 IDENT_51 ) { if ( IDENT_15 ) { com . amazonaws . services . IDENT_0 . METHOD_1 . logger . warn ( STRING_4 , IDENT_51 ) ; } else { throw IDENT_51 ; } } this . METHOD_23 ( IDENT_13 . METHOD_13 ( ) ) ; } return true ; }
org . junit . Assert . assertTrue ( client . METHOD_6 ( options ) )