Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created February 19, 2017 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/3ed72b9a8d30bfd595c10c289ef82b2c to your computer and use it in GitHub Desktop.
Save angelovstanton/3ed72b9a8d30bfd595c10c289ef82b2c to your computer and use it in GitHub Desktop.
using static WebDriverTestsCSharpSix.CSharpSix.StaticUsingSyntax.TimestampBuilder;
using static WebDriverTestsCSharpSix.CSharpSix.StaticUsingSyntax.UniqueEmailGenerator;
//....
public User RegisterUser(string email = null, string password = null, string userName = null)
{
//..
if (string.IsNullOrEmpty(email))
{
email = BuildUniqueEmailTimestamp();
}
//..
return user;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment