public void ToCountryIdentificationCodeType_Code_imk( [Values(1, 3, 56)] int countryCode) { var db = new CurrentDepartureDataType() { ExitCountryCode = countryCode }; var ret = db.ToCountryIdentificationCode(); Assert.AreEqual(_CountryIdentificationSchemeType.imk, ret.scheme); }
public void ToCountryIdentificationCodeType_Code_CorrectCode( [Values(1, 3, 56)] int countryCode) { var db = new CurrentDepartureDataType() { ExitCountryCode = countryCode }; var ret = db.ToCountryIdentificationCode(); Assert.AreEqual(countryCode, decimal.Parse(ret.Value)); }