}
@Given("I have a Event with time '([^']*)' with type '([^']*)' and for '(\\d+)' managed object$")
public void iHaveAEventWithTypeAndTime(String time, String type, int index) throws ClassNotFoundException, InstantiationException,
IllegalAccessException {
EventRepresentation rep = new EventRepresentation();
rep.setType(type);
rep.setText(" Event of Managed Object : ");
rep.setTime(DateConverter.string2Date(time));
System.out.println("Time = "+ DateConverter.date2String(rep.getTime()));
rep.setSource(managedObject);
input.add(rep);
}