@Test
public void complete() throws TerminationException {

	IndividualCompleterModule module = new IndividualCompleterModule();
	module.setThreads(4);
	module.setType(Type.PARALLEL);
	Injector injector = Guice.createInjector(new MockProblemModule(), module);
	IndividualFactory factory = injector.getInstance(IndividualFactory.class);
	Individual i1 = factory.create();
	Individual i2 = factory.create();
	ParallelIndividualCompleter completer = injector.getInstance(ParallelIndividualCompleter.class);
	completer.complete(i1, i2);
	Assert.assertTrue(i1.isEvaluated());
	Assert.assertTrue(i2.isEvaluated());
	completer.complete(i1);
}