public void ADXPValueType2Test() { ADXP adxp = new ADXP("Canada", AddressPartType.County); adxp.NullFlavor = null; Assert.IsTrue(adxp.Validate()); }
public void ADXPValue2Test() { ADXP adxp = new ADXP("96 White Water Dr."); adxp.NullFlavor = null; Assert.IsTrue(adxp.Validate()); }
public void ADXPValueTest() { ADXP adxp = new ADXP(); adxp.Value = "Port Dover"; adxp.Type = null; adxp.Code = null; adxp.CodeSystem = null; adxp.CodeSystemVersion = null; adxp.NullFlavor = null; Assert.IsTrue(adxp.Validate()); }
public void ADXPValueTypeCodeCodeSystemCodeSystemVersionTest() { ADXP adxp = new ADXP(); adxp.Value = "Port Dover"; adxp.Type = AddressPartType.City; adxp.Code = "23.2487.35.12"; adxp.CodeSystem = "something"; adxp.CodeSystemVersion = "3"; adxp.NullFlavor = null; Assert.IsTrue(adxp.Validate()); }
public void ADXPValueTypeCodeTest() { ADXP adxp = new ADXP(); adxp.Value = "Port Dover"; adxp.Type = AddressPartType.City; adxp.Code = "23.2483.122"; adxp.CodeSystem = null; adxp.CodeSystemVersion = null; adxp.NullFlavor = null; Assert.IsFalse(adxp.Validate()); }
public void ADXPTypeTest() { ADXP adxp = new ADXP(); adxp.Value = null; adxp.Type = AddressPartType.City; adxp.Code = null; adxp.CodeSystem = null; adxp.CodeSystemVersion = null; adxp.NullFlavor = null; Assert.IsFalse(adxp.Validate()); }
public void ADXPNullFlavorTest() { ADXP adxp = new ADXP(); adxp.Value = null; adxp.Type = null; adxp.Code = null; adxp.CodeSystem = null; adxp.CodeSystemVersion = null; adxp.NullFlavor = NullFlavor.NotApplicable; Assert.IsTrue(adxp.Validate()); }