Example #1
0
 public void testQualifiedNameZeroStudySegmentEpoch() throws Exception {
   assertEquals("Epoch", Epoch.create("Epoch").getStudySegments().get(0).getQualifiedName());
 }
Example #2
0
 public void testQualifiedName() throws Exception {
   Epoch epoch = Epoch.create("Epoch", "A", "B");
   assertEquals("Epoch: A", epoch.getStudySegments().get(0).getQualifiedName());
   assertEquals("Epoch: B", epoch.getStudySegments().get(1).getQualifiedName());
 }
Example #3
0
 public void testFindMatchingChildSegmentWhenNotPresent() throws Exception {
   Epoch e = Epoch.create("E", "A1", "A2");
   assertNull(e.findNaturallyMatchingChild("A0"));
 }