public void testQualifiedNameZeroStudySegmentEpoch() throws Exception { assertEquals("Epoch", Epoch.create("Epoch").getStudySegments().get(0).getQualifiedName()); }
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()); }
public void testFindMatchingChildSegmentWhenNotPresent() throws Exception { Epoch e = Epoch.create("E", "A1", "A2"); assertNull(e.findNaturallyMatchingChild("A0")); }