private void doExtractAccountDb(String processName, int expectedSuccesses, int expectedFailures, boolean isInsert)
throws ProcessInitializationException, DataAccessObjectException {
// specify the name of the configured process and select appropriate database access type
OperationInfo op = isInsert ? OperationInfo.insert : OperationInfo.update;
Map<String, String> argMap = getTestConfig();
argMap.put(Config.OPERATION, OperationInfo.extract.name());
argMap.put(ProcessRunner.PROCESS_NAME, processName);
argMap.put(Config.DAO_NAME, op.name() + "Account");
argMap.put(Config.OUTPUT_SUCCESS, new File(getTestStatusDir(), baseName + op.name() + "Success.csv")
.getAbsolutePath());
argMap.put(Config.OUTPUT_ERROR, new File(getTestStatusDir(), baseName + op.name() + "Error.csv")
.getAbsolutePath());
argMap.put(Config.ENABLE_EXTRACT_STATUS_OUTPUT, Config.TRUE);
argMap.put(Config.DAO_WRITE_BATCH_SIZE, String.valueOf(BATCH_SIZE));
Date startTime = new Date();