Created
May 1, 2023 13:22
-
-
Save nedgrady/7b603b8c05c7d9ca0479f41306a03269 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 = "Ned.Grady@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