### Question:
GenericItemSourcePool implements ItemSourcePool<T> { ScheduledExecutorService createExecutor() { return createExecutor(poolName); } GenericItemSourcePool(String poolName,
                                 PooledObjectOps<T> pooledObjectOps,
                                 ResizePolicy resizePolicy,
                                 long resizeTimeout,
                                 boolean monitored,
                                 long monitorTaskInterval,
                                 int initialPoolSize); @Override final void incrementPoolSize(int delta); @Override final void incrementPoolSize(); @Override final ItemSource<T> getPooled(); @Override final boolean remove(); @Override final String getName(); @Override final int getInitialSize(); @Override final int getTotalSize(); @Override final int getAvailableSize(); @Override // TODO: add shutdown(timeout) void shutdown(); @Override void start(); @Override void stop(); @Override boolean isStarted(); @Override boolean isStopped(); static final String THREAD_NAME_FORMAT; }### Answer:
@Test public void monitoredPoolExecutorFactoryDoesNotReturnNull() { GenericItemSourcePool pool = createDefaultTestGenericItemSourcePool(true); ScheduledExecutorService executor = pool.createExecutor(); assertNotNull(executor); }