XmlTextModificationsFactory factory = new XmlTextModificationsFactory();
factory.setResource(resource);
TextModification modification = factory.create();
String result = modification.modify("they left the dog in the car");
assertEquals("they right the cat in the car", result);
result = modification.modify("the value is ( 1 )");
assertEquals("the value is left paren #1 right paren", result);
}