/**
  * Construct with invalid System property for JGAPFactory set.
  *
  * @author Klaus Meffert
  * @since 2.6
  */
 public void testConstruct_1() {
   System.setProperty(Configuration.PROPERTY_JGAPFACTORY_CLASS, "org.jgap.myFactoryTest");
   try {
     new Configuration();
     fail();
   } catch (RuntimeException rex) {; // this is OK
   }
 }
 /**
  * Construct with no System property for JGAPFactory set.
  *
  * @author Klaus Meffert
  * @since 3.0
  */
 public void testConstruct_2() {
   System.setProperty(Configuration.PROPERTY_JGAPFACTORY_CLASS, "");
   Configuration conf = new Configuration();
   assertEquals(JGAPFactory.class, conf.getJGAPFactory().getClass());
 }