Esempio n. 1
0
 @Test
 public void testRandomizationConfigurationCorrect() {
   CompleteRandomizationConfig conf = new CompleteRandomizationConfig();
   conf.setTrial(null);
   assertNull(conf.getTrial());
   validTrial.setRandomizationConfiguration(conf);
   assertEquals(conf, validTrial.getRandomizationConfiguration());
   assertEquals(validTrial, conf.getTrial());
   assertValid(validTrial);
 }
Esempio n. 2
0
 @Test
 public void testRandomizationConfigurationNull() {
   validTrial.setRandomizationConfiguration(null);
   assertNull(validTrial.getRandomizationConfiguration());
   assertValid(validTrial);
 }