public void ToVerdenAdresseType_Empty_ForeignNotNull() { var db = new CurrentDepartureDataType() { ExitCountryCode = 1 }; var ret = db.ToVerdenAdresseType(); Assert.NotNull(ret.ForeignAddressStructure); }
public void ToVerdenAdresseType_EmptyAndValues_CorrectUkendt( [Values(null, "line1")] string line1) { var db = new CurrentDepartureDataType() { ForeignAddress1 = line1, ExitCountryCode = 1 }; var ret = db.ToVerdenAdresseType(); Assert.AreEqual(db.IsEmpty, ret.UkendtAdresseIndikator); }