package gov.nih.nci.cabig.caaers.web.ae;

import static gov.nih.nci.cabig.caaers.CaaersUseCase.*;
import gov.nih.nci.cabig.caaers.CaaersUseCases;
/**
 * @author Krikor Krumlian
 */
@CaaersUseCases({ CREATE_EXPEDITED_REPORT })
public class RadiationInterventionTabTest extends AeTabTestCase {
    @Override
    protected RadiationInterventionTab createTab() {
        return new RadiationInterventionTab();
    }
    
    public void testFieldProperties() throws Exception {
        assertFieldProperties(
            "radiationIntervention6",
            "aeReport.radiationInterventions[6].treatmentArm",
            "aeReport.radiationInterventions[6].description",
            "aeReport.radiationInterventions[6].administration",
            "aeReport.radiationInterventions[6].dosage",
            "aeReport.radiationInterventions[6].dosageUnit",
            "aeReport.radiationInterventions[6].lastTreatmentDate",
            "aeReport.radiationInterventions[6].fractionNumber",
            "aeReport.radiationInterventions[6].daysElapsed",
            "aeReport.radiationInterventions[6].adjustment"
        );
    }
}
@@ -92,317 +92,840 @@
 ase.
-*;%0Aimport gov.nih.nci.cabig.caaers.CaaersUseCases;%0A/**%0A * @author Krikor Krumlian%0A */%0A@CaaersUseCases(%7B CREATE_EXPEDITED_REPORT %7D)%0Apublic class RadiationInterventionTabTest extends AeTabTestCase %7B%0A    @Override%0A    protected RadiationInterventionTab createTab() %7B%0A        return new RadiationInterventionTab()
+CREATE_EXPEDITED_REPORT;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport gov.nih.nci.cabig.caaers.CaaersUseCases;%0Aimport gov.nih.nci.cabig.caaers.utils.ConfigProperty;%0Aimport gov.nih.nci.cabig.caaers.utils.Lov;%0A/**%0A * @author Krikor Krumlian%0A */%0A@CaaersUseCases(%7B CREATE_EXPEDITED_REPORT %7D)%0Apublic class RadiationInterventionTabTest extends AeTabTestCase %7B%0A    @Override%0A    protected RadiationInterventionTab createTab() %7B%0A    %09ConfigProperty configProperty = new ConfigProperty();%0A    %09Map%3CString, List%3CLov%3E%3E map = new HashMap%3CString, List%3CLov%3E%3E();%0A    %09map.put(%22doseUMORefData%22, new ArrayList%3CLov%3E());%0A    %09configProperty.setMap(map);%0A    %09RadiationInterventionTab tab = new RadiationInterventionTab();%0A    %09tab.setConfigurationProperty(configProperty);%0A    %09return tab
 ;%0A  

fix of test case