private static final FindAndModify.Builder FIND_AND_MODIFY_BUILDER =
FindAndModify.builder().query(FIND_DOCUMENT).setUpdate(UPDATE_DOCUMENT).setReturnNew(true);
@Test
public void testFindAndModifyQuery() throws ExecutionException, InterruptedException {
new Fiber<Void>(new SuspendableRunnable() {
@Override
public void run() throws SuspendExecution, InterruptedException {
Document findAndModify = mongoColl.findAndModify(FIND_AND_MODIFY_BUILDER.build());
assertEquals(UPDATE_VALUE.toString(), findAndModify.get(FIELD_INT_NAME).getValueAsString());
}