@Test(expected = IllegalArgumentException.class)
public void setCapacityIllegalCapacity() {

	BoundedArchive archive = new BoundedArchive(10) {
		@Override
		protected boolean updateWithNondominated(Collection<Individual> candidates) {
			Assert.fail();
			return false;
		}
	};
	archive.setCapacity(-1);
}