METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . IDENT_1 entity = new org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 ( ) ; entity . IDENT_2 = STRING_0 ; template . save ( entity ) ; org . springframework . data . mongodb . core . Query query = query ( METHOD_2 ( STRING_1 ) . is ( entity . id ) ) ; org . springframework . data . mongodb . core . IDENT_3 update = org . springframework . data . mongodb . core . IDENT_3 . update ( STRING_2 , STRING_3 ) ; org . springframework . data . mongodb . core . IDENT_4 options = new org . springframework . data . mongodb . core . METHOD_3 ( ) . METHOD_4 ( true ) ; org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 result = template . METHOD_5 ( query , update , options , org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 . class ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . springframework . data . mongodb . core . query . IDENT_5 ) { super . METHOD_2 ( criteria ) ; return this ; }
org . junit . Assert . assertThat ( result . IDENT_2 , is ( STRING_3 ) )