Element oldObject = factory.element("oldObject");
Element newObject = factory.element("newObject");
ODOMChangeEvent event = ODOMChangeEvent.createNew(source, oldObject, newObject,
ChangeQualifier.NAMESPACE);
ElementSelectionChangeEvent selectionChangeEvent =
new ElementSelectionChangeEvent(event);
final String match = "Values should match";
assertEquals(match, newObject, selectionChangeEvent.getNewValue());
assertEquals(match, oldObject, selectionChangeEvent.getOldValue());
assertEquals(match, ChangeQualifier.NAMESPACE, event.getChangeQualifier());
assertEquals(match, source, event.getSource());
}