@Test public void testGetUpdate() { UpdateExpression expResult = new UpdateExpression() { @Override public JsonNode toJson() { throw new UnsupportedOperationException("Not supported yet."); } }; ForEachExpression instance = new ForEachExpression(Path.EMPTY, null, expResult); UpdateExpression result = instance.getUpdate(); assertEquals(expResult, result); }
public UpdateExpression getUpdate() { return update; }
ForEachExpression extends ArrayUpdateExpression { public UpdateExpression getUpdate() { return update; } }
ForEachExpression extends ArrayUpdateExpression { public UpdateExpression getUpdate() { return update; } ForEachExpression(Path field, QueryExpression query, UpdateExpression update); }
ForEachExpression extends ArrayUpdateExpression { public UpdateExpression getUpdate() { return update; } ForEachExpression(Path field, QueryExpression query, UpdateExpression update); Path getField(); QueryExpression getQuery(); UpdateExpression getUpdate(); @Override JsonNode toJson(); static ForEachExpression fromJson(ObjectNode node); @Override int hashCode(); @Override boolean equals(Object obj); }
ForEachExpression extends ArrayUpdateExpression { public UpdateExpression getUpdate() { return update; } ForEachExpression(Path field, QueryExpression query, UpdateExpression update); Path getField(); QueryExpression getQuery(); UpdateExpression getUpdate(); @Override JsonNode toJson(); static ForEachExpression fromJson(ObjectNode node); @Override int hashCode(); @Override boolean equals(Object obj);  }