@@ -0,0 +1,625 @@
+package edu.northwestern.bioinformatics.studycalendar.dao;%0A%0Aimport edu.northwestern.bioinformatics.studycalendar.domain.ScheduledArm;%0A%0A/**%0A * @author Rhett Sutphin%0A */%0Apublic class ScheduledArmDaoTest extends ContextDaoTestCase%3CScheduledArmDao%3E %7B%0A    protected String getTestDataFileName() %7B%0A        return %22testdata/ScheduledCalendarDaoTest.xml%22;%0A    %7D%0A%0A    public void testGetById() throws Exception %7B%0A        ScheduledArm loaded = getDao().getById(-22);%0A        assertEquals(%22Wrong arm%22, -4, (int) loaded.getArm().getId());%0A        assertEquals(%22Wrong schedule%22, -20, (int) loaded.getScheduledCalendar().getId());%0A    %7D%0A%7D%0A

Test for ScheduledArmDao (loading is more rigorously tested in ScheduledCalendarDaoTest)