add ( ) { com . IDENT_0 . datastore . IDENT_1 . IDENT_2 index = mock ( com . IDENT_0 . datastore . IDENT_1 . IDENT_2 . class ) ; final boolean [ ] IDENT_3 = new boolean [ ] { false } ; METHOD_0 ( ( IDENT_4 ) -> { IDENT_3 [ 0 ] = true ; return null ; } ) . when ( index ) . update ( any ( org . apache . lucene . index . IDENT_5 . class ) , any ( org . apache . lucene . document . Document . class ) ) ; when ( com . IDENT_0 . datastore . IDENT_6 . IDENT_7 . METHOD_1 ( METHOD_2 ( com . IDENT_0 . datastore . IDENT_6 . IDENT_8 ) ) ) . thenReturn ( index ) ; com . IDENT_0 . datastore . IDENT_6 . IDENT_9 . put ( com . IDENT_0 . datastore . IDENT_6 . IDENT_8 , com . IDENT_0 . datastore . IDENT_6 . IDENT_10 , com . IDENT_0 . datastore . IDENT_6 . IDENT_11 ) ; "<AssertPlaceHolder>" ; } put ( java . lang . String , com . google . IDENT_12 . IDENT_13 , com . google . IDENT_12 . IDENT_13 ) { final com . IDENT_0 . datastore . IDENT_14 . IDENT_15 . Builder builder = com . IDENT_0 . datastore . IDENT_14 . IDENT_15 . METHOD_3 ( ) ; builder . METHOD_4 ( IDENT_16 ) ; builder . METHOD_5 ( key ) ; builder . setValue ( value ) ; com . IDENT_0 . services . IDENT_17 . simple . IDENT_18 < com . IDENT_0 . datastore . IDENT_14 . IDENT_19 > response = IDENT_20 . METHOD_6 ( ) . METHOD_7 ( builder . build ( ) ) ; if ( response . METHOD_8 ( ) . METHOD_9 ( ) ) { throw new java . util . METHOD_10 ( response . METHOD_8 ( ) . METHOD_11 ( ) ) ; } if ( response . METHOD_8 ( ) . METHOD_12 ( ) ) { return response . METHOD_8 ( ) . METHOD_13 ( ) ; } return null ; }
org . junit . Assert . assertTrue ( IDENT_3 [ 0 ] )