### Question:
PropertyPathType extends AbstractScalarType { @Override public Object fromNodeId(NodeId nodeId, ReadContext context) { return PropertyPath.parse(nodeId.getKey()); }  @Override Object fromNodeId(NodeId nodeId, ReadContext context); @Override Object instantiate(PropertyTree propertyTree, Object value, ReadContext context); @Override void serialize(PropertyPath path, Object object, WriteContext context); @Override NodeId toNodeId(Object object, WriteContext writeContext);  }### Answer:
@Test public void fromNodeId() { PropertyPath parsed = (PropertyPath) type.fromNodeId(NodeId.key(path.toString()), null); assertThat((Object) parsed).isEqualTo(path); }