private int push(String id, Iterable<String> values) {
    return repository.update(repository.criteria().id(id))
        .addAllList(values)
        .updateFirst()
        .getUnchecked();
  }
Checks {@code $push} functionality of repository
mongo/test/org/immutables/mongo/fixture/SimpleUpdaterTest.java