### Question:
Node extends AbstractElement<Node> { public Node withElement(Consumer<? super Node> configure) { newElement().configure(configure); return this; } Node(); @JsonCreator(mode = Mode.DELEGATING)  Node(Info info);   Node(Node parent, Info info); @Override Node getParent(); List<Input> getInputs(); Input getInput(int index); Input newInput(); Node withInput(Consumer<? super Input> configure); List<Output> getOutputs(); Output getOutput(int index); Output newOutput(); Node withOutput(Consumer<? super Output> configure); List<Node> getElements(); Node getElement(int index); Node newElement(); Node withElement(Consumer<? super Node> configure); List<Wire> getWires(); Wire getWire(int index);  }### Answer:
@Test public void elements() { checkRestore(new Node() .withElement(it -> it.withAttribute(new MockAttribute("A"))) .withElement(it -> it.withAttribute(new MockAttribute("B"))) .withElement(it -> it.withAttribute(new MockAttribute("C")))); }