@Test
public void addCheckedIndividuals() {

	Individual individual1 = mock(Individual.class);
	BoundedArchive archive = new BoundedArchive(1) {
		@Override
		protected boolean updateWithNondominated(Collection<Individual> candidates) {
			individuals.addAll(candidates);
			return true;
		}
	};
	archive.addCheckedIndividuals(Collections.singleton(individual1));
	Assert.assertTrue(archive.contains(individual1));
	Assert.assertEquals(1, archive.size());
}