txDoc.logErrors();
GlobalVariables.getMessageMap().clearErrorMessages();
txDoc.setMatterId(1001l);
assertTrue("rule should return true", getRule().processCustomRouteDocumentBusinessRules(txDoc));
txDoc.logErrors();
assertTrue("there should be no errors", GlobalVariables.getMessageMap().hasNoErrors());
}
/**
* provide children classes with a way of specifying the rule - which is {@link MatterWorkRule} by default