@Override
protected Matter getTestMatter(String localReference, String statusText,
String matterName)
throws InstantiationException, IllegalAccessException {
CourtCase matter = (CourtCase) super.getTestMatter(localReference, statusText, matterName);
MatterType type = new MatterType();
type.setName(caseTypeName);
getBoSvc().save(type);
type.refresh();
matter.setTypeId(type.getId());
matter.setCourtReference(courtReference);
getTestUtils().addWitnesses(matter);
return matter;
}