Beispiel #1
0
 public void Should_ThrowsInvalidEmail()
 {
     EmailAssertionConcern.AssertEmailFormat("your_email@domain", "error message");
 }
Beispiel #2
0
 public void Should_ThrowsInvalidEmail_WhenIsText()
 {
     EmailAssertionConcern.AssertEmailFormat("tries email validation with text", "error message");
 }
Beispiel #3
0
 public void Should_AssertEmailFormat()
 {
     Assert.DoesNotThrow(() => EmailAssertionConcern.AssertEmailFormat("*****@*****.**", "error message"));
 }