@Test
public void createWithGenotypeTest() {

	AbstractIndividualFactory<Individual> factory = getFactory();
	init(factory);
	Genotype genotype = new PermutationGenotype<Object>();
	Individual individual = factory.create(genotype);
	Assert.assertTrue(individual.individualStateListeners.contains(listener));
	Assert.assertTrue(individual.genotype == genotype);
}