* @throws InstantiationException
* @throws WorkflowException
*/
public void testMatterTransactionDocSearch(Class<? extends MatterTransactionDoc> txDocClass, String docType) throws InstantiationException, IllegalAccessException, WorkflowException {
// route some test documents then search
GlobalVariables.setUserSession(new UserSession("lawyer1"));
MatterTransactionDoc txDoc1 = populateTransactionDocForRouting(txDocClass);
testTransactionalRoutingInitToFinal(txDoc1);
MatterTransactionDoc txDoc2 = populateTransactionDocForRouting(txDocClass);
txDoc2.setAmount(new BigDecimal(50001));