METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . IDENT_1 document = new org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 ( org . springframework . data . mongodb . core . Arrays . < org . springframework . data . mongodb . core . IDENT_0 . IDENT_2 > asList ( new org . springframework . data . mongodb . core . IDENT_0 . METHOD_2 ( STRING_0 ) , new org . springframework . data . mongodb . core . IDENT_0 . METHOD_2 ( STRING_1 ) ) ) ; template . save ( document ) ; org . springframework . data . mongodb . core . Query query = query ( METHOD_3 ( STRING_2 ) . is ( document . id ) . and ( STRING_3 ) . exists ( true ) ) ; org . springframework . data . mongodb . core . IDENT_3 update = new org . springframework . data . mongodb . core . METHOD_4 ( ) . set ( STRING_4 , STRING_5 ) ; template . METHOD_5 ( query , update , org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 . class ) ; org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 result = template . METHOD_6 ( query ( METHOD_3 ( STRING_2 ) . is ( document . id ) ) , org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 . class ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . springframework . data . mongodb . core . query . IDENT_4 ) { super . METHOD_3 ( criteria ) ; return this ; }
org . junit . Assert . assertThat ( result . models . get ( 0 ) . value ( ) , is ( STRING_5 ) )