public void testUnmarshalOldData2() throws Exception {
XStream xStream = new XStream2();
xStream.registerConverter(new TriggerContextConverter());
Object obj = xStream.fromXML(getClass().getResourceAsStream("retriggerAction_oldData2.xml"));
assertTrue(obj instanceof RetriggerAction);
RetriggerAction action = (RetriggerAction)obj;
TriggerContext context = Whitebox.getInternalState(action, "context");
assertNotNull(context.getEvent());
assertThat("Event is not a ChangeBasedEvent", context.getEvent(), instanceOf(ChangeBasedEvent.class));
ChangeBasedEvent changeBasedEvent = (ChangeBasedEvent)context.getEvent();
assertEquals("semctools/hudson/plugins/gerrit-trigger-plugin", changeBasedEvent.getChange().getProject());