@Test
public void testProcess() throws Exception {

	for (int i = 1; i <= 100; i++) {
		MessageTree tree = generateMessageTree(i);
		m_analyzer.process(tree);
	}
	ProblemReport report = m_analyzer.getReport(m_domain);
	String expected = Files.forIO().readFrom(getClass().getResourceAsStream("problem_analyzer.xml"), "utf-8");
	ProblemReport expected4report =  com.dianping.cat.consumer.problem.model.transform.DefaultSaxParser.parse(expected);
	
	Assert.assertTrue(TestHelper.isEquals(expected4report,report));
}