### Question:
BasicConveyorBootstrapperImpl implements ConveyorBootstrapper { @Override public ConveyorService bootstrap( final IRODSAccessObjectFactory irodsAccessObjectFactory) throws BootstrapperException { log.info("bootstrapping..."); if (irodsAccessObjectFactory == null) { throw new IllegalArgumentException("null irodsAccessObjectFactory"); } try { ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext( new String[] { "classpath:transfer-dao-beans.xml", "classpath:transfer-dao-hibernate-spring.cfg.xml" }); beanFactory = appContext; } catch (Exception e) { log.error("error starting app context", e); throw new BootstrapperException(e.getMessage()); } log.info("bootstrap complete..."); ConveyorService conveyorService = (ConveyorService) beanFactory .getBean("conveyorService"); conveyorService.setIrodsAccessObjectFactory(irodsAccessObjectFactory); return conveyorService; } BasicConveyorBootstrapperImpl(
			final ConveyorBootstrapConfiguration conveyorBootstrapConfiguration); @Override ConveyorService bootstrap(
			final IRODSAccessObjectFactory irodsAccessObjectFactory); ConveyorBootstrapConfiguration getConveyorBootstrapConfiguration();  }### Answer:
@Test public void testBootstrap() throws Exception { ConveyorBootstrapConfiguration conveyorBootstrapConfiguration = new ConveyorBootstrapConfiguration(); ConveyorBootstrapper conveyorBootstrapper = new BasicConveyorBootstrapperImpl( conveyorBootstrapConfiguration); IRODSAccessObjectFactory irodsAccessObjectFactory = Mockito .mock(IRODSAccessObjectFactory.class); ConveyorService service = conveyorBootstrapper .bootstrap(irodsAccessObjectFactory); service.shutdown(); Assert.assertNotNull("no executor in service after bootstrap", service.getConveyorExecutorService()); Assert.assertNotNull("no gridAccountService after bootstrap", service.getGridAccountService()); Assert.assertNotNull( "gridAccountService does not have reference to executor after bootstrap", service.getGridAccountService().getConveyorExecutorService()); }