Created
May 1, 2023 20:29
-
-
Save nedgrady/38aceabaae126de85482af673b6c8d02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void FullNameConcatenatesFirstAndLastName() | |
{ | |
// Arrange | |
Person personUnderTest = new() | |
{ | |
FirstName = "SomeFirstName", | |
LastName = "SomeSecondName", | |
Email = "Any.Email@anywhere.co.uk" | |
}; | |
// Act | |
var fullName = personUnderTest.FullName; | |
// Assert | |
Assert.AreEqual("SomeFirstName SomeSecondName", fullName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment