* TAPESTRY-1475
*/
@Test
public void discard_changes()
{
PersistentFieldStrategy strat1 = newPersistentFieldStrategy();
PersistentFieldStrategy strat2 = newPersistentFieldStrategy();
Map<String, PersistentFieldStrategy> strategies = newMap();
strategies.put("foo", strat1);
strategies.put("bar", strat2);
String pageName = "gnip.gnop";
strat1.discardChanges(pageName);
strat2.discardChanges(pageName);
replay();
PersistentFieldManager manager = new PersistentFieldManagerImpl(null, strategies);