@Test
public void decode() throws TerminationException {

	Injector injector = Guice.createInjector(new MockProblemModule());
	IndividualFactory factory = injector.getInstance(IndividualFactory.class);
	Individual i1 = factory.create();
	SequentialIndividualCompleter completer = injector.getInstance(SequentialIndividualCompleter.class);
	Assert.assertTrue(i1.getState().equals(State.GENOTYPED));
	completer.decode(i1);
	Assert.assertTrue(i1.getState().equals(State.PHENOTYPED));
	Assert.assertTrue(i1.getPhenotype() == object);
}