public void ReturnsEmptyStringWhenNullName() { // Arrange var expected = string.Empty; // Act var actual = CandidateHelper.GetLastName(null); // Assert Assert.AreEqual(expected, actual); }
public void ReturnsLastNameWhenNameEqualsTwoNames() { // Arrange var expected = "Chan"; var testName = "Bravo Chan"; // Act var actual = CandidateHelper.GetLastName(testName); // Assert Assert.AreEqual(expected, actual); }