@Test
public void addIndividualStateListenerTest() {

	AbstractIndividualFactory<Individual> factory = getFactory();
	IndividualStateListener listener2 = new IndividualStateListener() {
		@Override
		public void inidividualStateChanged(Individual individual) {
		}
	};
	factory.addIndividualStateListener(listener2);
	Assert.assertTrue(factory.individualStateListeners.contains(listener2));
}