public class TestAnalysisAction {
@Test
public void testInitializeAnalysis(){
Analysis analysis1 = new Analysis();
analysis1.setId(1);
analysis1.setName("Analysis1");
analysis1.setText("{foo:\"ab\",boo:12}");
Analysis analysis2 = new Analysis();
analysis2.setId(2);
analysis2.setName("Analysis2");
analysis2.setText("{foo:\"abc\",boo:13}");
Analysis analysis3 = new Analysis();
analysis3.setId(3);
analysis3.setName("Analysis3");
analysis3.setText("{foo:\"abcd\",boo:14}");
//List of Above created Analysis
List<Analysis> analysisList = new ArrayList<Analysis>();
analysisList.add(analysis1);
analysisList.add(analysis2);