@Test
public void optimizationStopped() {

	IndividualCompleterModule module = new IndividualCompleterModule();
	module.setThreads(4);
	module.setType(Type.PARALLEL);
	Injector injector = Guice.createInjector(new MockProblemModule(), module);
	ParallelIndividualCompleter completer = injector.getInstance(ParallelIndividualCompleter.class);
	completer.optimizationStopped(null);
	Assert.assertTrue(completer.executor.isShutdown());
	Assert.assertTrue(completer.executor.isShutdown());
}