@Test public void testFromJson() { System.out.println("fromJson"); JsonNode node = null; UpdateExpression expResult = null; UpdateExpression result = ForEachUpdateExpression.fromJson(node); assertEquals(expResult, result); fail("The test case is a prototype."); }
public static UpdateExpression fromJson(JsonNode node) { if (node instanceof TextNode && "$remove".equals(node.asText())) { return new RemoveElementExpression(); } else { return UpdateExpression.fromJson(node); } }
ForEachUpdateExpression extends UpdateExpression { public static UpdateExpression fromJson(JsonNode node) { if (node instanceof TextNode && "$remove".equals(node.asText())) { return new RemoveElementExpression(); } else { return UpdateExpression.fromJson(node); } } }
ForEachUpdateExpression extends UpdateExpression { public static UpdateExpression fromJson(JsonNode node) { if (node instanceof TextNode && "$remove".equals(node.asText())) { return new RemoveElementExpression(); } else { return UpdateExpression.fromJson(node); } }  }
ForEachUpdateExpression extends UpdateExpression { public static UpdateExpression fromJson(JsonNode node) { if (node instanceof TextNode && "$remove".equals(node.asText())) { return new RemoveElementExpression(); } else { return UpdateExpression.fromJson(node); } }  static UpdateExpression fromJson(JsonNode node); }
ForEachUpdateExpression extends UpdateExpression { public static UpdateExpression fromJson(JsonNode node) { if (node instanceof TextNode && "$remove".equals(node.asText())) { return new RemoveElementExpression(); } else { return UpdateExpression.fromJson(node); } }  static UpdateExpression fromJson(JsonNode node);  }