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