simplifier.setChangeSink(new NullChangeWriter());
simplifier.initialize(new HashMap<String, Object>());
Node node;
node = new Node(new CommonEntityData(1, 2, new Date(), OsmUser.NONE, 2), 1, 1);
simplifier.process(new ChangeContainer(new NodeContainer(node), ChangeAction.Modify));
try {
node = new Node(new CommonEntityData(1, 1, new Date(), OsmUser.NONE, 1), 1, 1);
simplifier.process(new ChangeContainer(new NodeContainer(node), ChangeAction.Modify));
} catch (OsmosisRuntimeException e) {
if (e.getMessage().startsWith("Pipeline entities are not sorted")) {
return;
}
throw e;