public void ValidateMissingLastName() { //Arrange var customer = new Customer(); customer.Email = "*****@*****.**"; //Act var expected = false; var actual = customer.Validate(); //Assert Assert.AreEqual(expected,actual); }
public void ValidateValid() { // Arrange var customer = new Customer(); customer.LastName = "strong"; customer.Email = "*****@*****.**"; var expected = true; // Act var actual = customer.Validate(); // Assert Assert.AreEqual(expected,actual); }