Created
May 1, 2023 20:20
-
-
Save nedgrady/49db23fb773b02df9a1638aa23f3b187 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 = "Ned", | |
LastName = "Grady", | |
Email = "Any.Email@nedgrady.co.uk" | |
}; | |
// Act | |
var fullName = personUnderTest.FullName; | |
// Assert | |
Assert.AreEqual("Ned Grady", fullName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment