@Before public void setUp() { try { ConfigSingleton.setRepoxContextUtil(new RepoxContextUtilEuropeana()); ConfigSingleton.getRepoxContextUtil().getRepoxManagerTest(); // id min hour day month weekday taskClass Parameters... // Jan 1st 00:00 Calendar firstRun = new GregorianCalendar(2009, 0, 1, 0, 0); goodTask = new ScheduledTask( "1", firstRun, Frequency.ONCE, null, new DataSourceIngestTask("1", "1", "false")); } catch (Exception e) { e.printStackTrace(); } }
public LightManager() { super(); ConfigSingleton.setRepoxContextUtil(new RepoxContextUtilDefault()); }