public void NoFieldIsSet() { ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams(); Assert.False(locParam.IsFieldSet("ZipCode")); Assert.False(locParam.IsFieldSet("ZipRadius")); }
public void GetAndSetZipRadius() { ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams(); locParam.ZipRadius = 100; Assert.True(locParam.IsFieldSet("ZipRadius")); Assert.Equal("100", locParam.GetFieldAsString("ZipRadius")); }
public void GetAndSetZipCode() { ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams(); locParam.ZipCode = "20852"; Assert.True(locParam.IsFieldSet("ZipCode")); Assert.Equal("20852", locParam.GetFieldAsString("ZipCode")); }