@Test
public void testAttributeValidation() throws WorkflowException {
getTxDoc().setMatterId(1001l);
getTxDoc().getDocumentHeader().setDocumentDescription("testing");
DocumentRuleBase ruleBase = new TransactionalDocumentRuleBase();
if (!ruleBase.isDocumentAttributesValid(getTxDoc(), true)) {
getTxDoc().logErrors();
fail("attributes should be valid");
}
}