public void LocationFakerTest() { DisplayAndExecute(new Expression <Func <string> >[] { () => LocationFaker.City(), () => LocationFaker.Country(), () => LocationFaker.PostCode(), () => LocationFaker.Street(), () => LocationFaker.StreetName(), () => LocationFaker.ZipCode(), }); DisplayAndExecute(new Expression <Func <int> >[] { () => LocationFaker.StreetNumber(), }); }
public static string Street() { int num = LocationFaker.StreetNumber(); return(string.Concat(num.ToString(), " ", LocationFaker.StreetName())); }