/**
  * @throws Exception
  * @author Klaus Meffert
  * @since 3.0
  */
 public void testSetBulkFitnessFunction_4() throws Exception {
   Configuration conf = new Configuration();
   conf.setBulkFitnessFunction(new TestBulkFitnessFunction());
   try {
     conf.setBulkFitnessFunction(new TestBulkFitnessFunction2());
     fail();
   } catch (RuntimeException rex) {; // this is OK
   }
 }
 /**
  * @throws Exception
  * @author Klaus Meffert
  */
 public void testSetBulkFitnessFunction_0() {
   Configuration conf = new Configuration();
   try {
     conf.setBulkFitnessFunction(null);
     fail();
   } catch (InvalidConfigurationException invex) {; // this is OK
   }
 }
 /**
  * @throws Exception
  * @author Klaus Meffert
  */
 public void testSetBulkFitnessFunction_2() throws Exception {
   Configuration conf = new Configuration();
   conf.setBulkFitnessFunction(new TestBulkFitnessFunction());
   try {
     conf.setFitnessFunction(new TestFitnessFunction());
     fail();
   } catch (InvalidConfigurationException invex) {; // this is OK
   }
 }
 public void run() {
   Configuration conf = new Configuration();
   try {
     conf.setBulkFitnessFunction(new TestBulkFitnessFunction());
     Thread.sleep(100);
   } catch (Exception ex) {
     ex.printStackTrace();
   }
 }
 /**
  * Setting the same bulk fitness function should be possible without error.
  *
  * @throws Exception
  * @author Klaus Meffert
  * @since 3.0
  */
 public void testSetBulkFitnessFunction_5() throws Exception {
   Configuration conf = new Configuration();
   conf.setBulkFitnessFunction(new TestBulkFitnessFunction());
   conf.setBulkFitnessFunction(new TestBulkFitnessFunction());
 }