public void Approval_FullnameIsFirstnameAndLastname() { var customer = new Customer { Firstname = "Bartx", Lastname = "Simpson" }; Approvals.Verify(customer.Fullname() + Environment.NewLine); }
public void FullnameIsFirstnameAndLastname() { var customer = new Customer { Firstname = "Bart", Lastname = "Simpson" }; Assert.AreEqual("Bart Simpson",customer.Fullname()); }