### Question:
ForEachExpression extends ArrayUpdateExpression { public Path getField() { return field; } 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);  }### Answer:
@Test public void testGetField() { ForEachExpression instance = new ForEachExpression(Path.EMPTY, null, null); Path expResult = Path.EMPTY; Path result = instance.getField(); assertEquals(expResult, result); }