Ejemplo n.º 1
0
 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(),
     });
 }
Ejemplo n.º 2
0
        public static string Street()
        {
            int num = LocationFaker.StreetNumber();

            return(string.Concat(num.ToString(), " ", LocationFaker.StreetName()));
        }