示例#1
0
 public void testSetAndGetDescription() {
   String testDescription = "Data Element Description";
   assertNull(dataelement.getDescription());
   dataelement.setDescription(testDescription);
   assertEquals(testDescription, dataelement.getDescription());
 }
示例#2
0
 public void testSetAndGetClassificationSchemeID() {
   int classificationSchemeID = 888;
   assertEquals(dataelement.getClassificationSchemeID(), 0);
   dataelement.setClassificationSchemeID(classificationSchemeID);
   assertEquals(classificationSchemeID, dataelement.getClassificationSchemeID());
 }
示例#3
0
 public void testSetAndGetValueDomainID() {
   int valueDomainID = 888;
   assertEquals(dataelement.getValueDomainID(), 0);
   dataelement.setValueDomainID(valueDomainID);
   assertEquals(valueDomainID, dataelement.getValueDomainID());
 }
示例#4
0
 public void testSetAndGetAdminObjectID() {
   int adminObjectID = 888;
   assertEquals(dataelement.getAdminobjectid(), 0);
   dataelement.setAdminobjectid(adminObjectID);
   assertEquals(adminObjectID, dataelement.getAdminobjectid());
 }
示例#5
0
 public void testSetAndGetID() {
   int dataElementID = 888;
   assertEquals(dataelement.getDataElementId(), 0);
   dataelement.setDataElementId(dataElementID);
   assertEquals(dataElementID, dataelement.getDataElementId());
 }