### Question:
OperatorGraphAttribute implements Attribute { public Node getRoot() { return root; } OperatorGraphAttribute(Node root); @Override String getId(); Node getRoot(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void simple() { InfoSerDe.checkRestore( Attribute.class, new OperatorGraphAttribute( new Node()), (a, b) -> NodeTestUtil.contentEquals(a.getRoot(), b.getRoot())); }