* @see org.martinlaw.bo.MatterEventTest#testToIcalendar()
* @see org.martinlaw.bo.MatterEventMaintainableTest#testCreateNotificationMessage()
* @return
*/
public MatterEvent getTestMatterEventForStringTemplates() {
MatterEvent caseEvent = new MatterEvent();
caseEvent.setId(1001l);
EventType eventType = new EventType();
eventType.setName("judgement");
caseEvent.setType(eventType);
CourtCase theCase = new CourtCase();
theCase.setLocalReference("my/cases/1");
theCase.setName("water vs fire");
theCase.setCourtReference("No 12 of 2015");
theCase.setConcreteClass(CourtCase.class.getCanonicalName());
caseEvent.setMatter(theCase);
// create test date
Calendar testCal = Calendar.getInstance();
testCal.set(Calendar.YEAR, 2013);
testCal.set(Calendar.MONTH, 1);// months start at 0
testCal.set(Calendar.DATE, 22);
testCal.set(Calendar.HOUR_OF_DAY, 11);
testCal.set(Calendar.MINUTE, 19);
testCal.set(Calendar.SECOND, 15);
Date testDate = new Date(testCal.getTimeInMillis());
caseEvent.setStartDate(new Timestamp(testDate.getTime()));
Timestamp ts = new Timestamp(testCal.getTimeInMillis());
caseEvent.setDateCreated(ts);
caseEvent.setDateModified(ts);
caseEvent.setLocation("Milimani");
return caseEvent;
}