update ( ) { final java . lang . String IDENT_0 = STRING_0 ; final org . apache . rya . api . instance . IDENT_1 IDENT_2 = . METHOD_0 ( new METHOD_1 ( true ) ) org . apache . rya . api . instance . IDENT_1 . builder ( ) . METHOD_2 ( IDENT_0 ) . METHOD_3 ( STRING_1 ) . METHOD_4 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_5 ( true ) ) . METHOD_6 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_7 ( true ) ) . METHOD_8 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_9 ( true ) ) . METHOD_10 ( org . apache . rya . api . instance . IDENT_1 . IDENT_3 . builder ( ) . METHOD_11 ( true ) . METHOD_12 ( org . apache . rya . api . instance . IDENT_1 . IDENT_3 . IDENT_4 . builder ( ) . setId ( STRING_2 ) . METHOD_13 ( IDENT_5 . IDENT_6 ) . METHOD_14 ( new java . util . Date ( ) ) ) . METHOD_12 ( org . apache . rya . api . instance . IDENT_1 . IDENT_3 . IDENT_4 . builder ( ) . setId ( STRING_3 ) ) ) . METHOD_15 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_16 ( com . google . common . base . Optional . of ( new java . util . Date ( ) ) ) ) . METHOD_17 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_18 ( com . google . common . base . Optional . of ( new java . util . Date ( ) ) ) ) . build ( ) ; final org . apache . rya . api . instance . IDENT_7 repo = new org . apache . rya . mongodb . instance . METHOD_19 ( client , STRING_0 ) ; repo . METHOD_20 ( IDENT_2 ) ; final org . apache . rya . api . instance . IDENT_1 IDENT_8 = new org . apache . rya . api . instance . IDENT_1 . Builder ( IDENT_2 ) . METHOD_4 ( new org . apache . rya . api . instance . IDENT_1 . METHOD_5 ( false ) ) . build ( ) ; repo . update ( IDENT_2 , IDENT_8 ) ; final org . apache . rya . api . instance . IDENT_1 IDENT_9 = repo . METHOD_21 ( ) ; "<AssertPlaceHolder>" ; } METHOD_21 ( ) { if ( ! ( METHOD_22 ( ) ) ) { throw new org . apache . rya . accumulo . instance . METHOD_23 ( ( ( STRING_4 + ( IDENT_0 ) ) + STRING_5 ) ) ; } org . apache . accumulo . core . client . IDENT_10 IDENT_11 = null ; try { IDENT_11 = IDENT_12 . METHOD_24 ( IDENT_13 , new org . apache . accumulo . core . security . METHOD_25 ( ) ) ; IDENT_11 . METHOD_26 ( org . apache . rya . accumulo . instance . IDENT_14 . IDENT_15 , org . apache . rya . accumulo . instance . IDENT_14 . IDENT_16 ) ; final java . util . Map . Entry < org . apache . accumulo . core . data . IDENT_17 , org . apache . accumulo . core . data . IDENT_18 > entry = IDENT_11 . iterator ( ) . next ( ) ; final byte [ ] bytes = entry . getValue ( ) . get ( ) ; return serializer . METHOD_27 ( bytes ) ; } catch ( final org . apache . accumulo . core . client . IDENT_19 e ) { throw new org . apache . rya . accumulo . instance . METHOD_28 ( STRING_6 , e ) ; } finally { if ( IDENT_11 != null ) { IDENT_11 . close ( ) ; } } }
org . junit . Assert . assertEquals ( IDENT_8 , IDENT_9 )