Beispiel #1
0
 public static string Email()
 {
     if (NumberFaker.Number(5) == 2)
     {
         return(NameFaker.FirstName().ToLower() + StringFaker.Numeric(2) + "@" + Domain());
     }
     else
     {
         return(NameFaker.FirstName().ToLower() + "@" + Domain());
     }
 }
Beispiel #2
0
 public static string Phone()
 {
     return(StringFaker.Randomize("###-###-#####"));
 }
Beispiel #3
0
 public static string InternationalPhone()
 {
     return(StringFaker.Randomize("+##-(0)####-####-####"));
 }
Beispiel #4
0
 static public string PostCode()
 {
     return(StringFaker.Randomize("????? ##").ToUpper());
 }
Beispiel #5
0
 static public string ZipCode()
 {
     return(StringFaker.Numeric(5));
 }