@Before public void setUp() throws Exception { super.setUp(); m_timestamp = 1385470800000L; m_analyzer = (ProblemAnalyzer) lookup(MessageAnalyzer.class, ProblemAnalyzer.ID); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd HH:mm"); Date date = sdf.parse("20120101 00:00"); m_analyzer.initialize(date.getTime(), Constants.HOUR, Constants.MINUTE * 5); }
@Before @Override public void setUp() throws Exception { super.setUp(); m_reportDao = lookup(ReportDao.class); }
@Before public void setUp() throws Exception { super.setUp(); defineComponent(MetaService.class, TestMetaService.class); }