*/
@Before
public void setUp() throws Exception {
rulesBase = new MatterMaintenanceHelperBusinessRulesBase();
// mock the data dictionary svc since fetching it from KRADServiceLocatorWeb results in null pointer exception
DataDictionaryService ddSvc = mock(DataDictionaryService.class);
when(ddSvc.getAttributeLabel(CourtCase.class, MartinlawConstants.PropertyNames.MATTER_ID)).thenReturn("Court Case");
rulesBase.getRulesHelper().setDataDictionaryService(ddSvc);
document = mock(MaintenanceDocument.class);
maintainable = mock(Maintainable.class);
when(document.getNewMaintainableObject()).thenReturn(maintainable);