ExecutorServiceHelper { public boolean checkExecutorTaskIsLarge(int targetListCount) { boolean bigJob = false; Double maxSize = new Double(largejobSizePercent * concurrentPoolSize); if (targetListCount >= maxSize.intValue()) { bigJob = true; LOG.debug("checkExecutorTaskIsLarge has large job size=" + targetListCount + " so returning LargeJobExecutor"); } return bigJob; } private  ExecutorServiceHelper(); static ExecutorServiceHelper getInstance(); int getExecutorPoolSize(); int getLargeJobExecutorPoolSize(); double getLargeJobPercentage(); Map getTimeoutValues(); boolean checkExecutorTaskIsLarge(int targetListCount); static void outputCompleteException(Exception e); static String getFormattedExceptionInfo(Exception ex, NhinTargetSystemType target, String serviceName);  }
@Test public void testCheckExecutorTaskIsLarge() { int targetListCount = 100; boolean expResult = true; boolean result = instance.checkExecutorTaskIsLarge(targetListCount); assertEquals(expResult, result); targetListCount = 60; expResult = false; result = instance.checkExecutorTaskIsLarge(targetListCount); assertEquals(expResult, result); }