public void PlayerNameValidation_WhenPlayerNameIsNotNull_ReturnsFalse() { string playerName = "Monique"; PlayerNameValidator myPlayerNameValidator = new PlayerNameValidator(); bool result = myPlayerNameValidator.IsPlayerNameNull(playerName); Assert.False(result); }
public void PlayerNameValidation_WhenPlayerNameIsNull_ReturnsTrue() { string playerName = ""; PlayerNameValidator myPlayerNameValidator = new PlayerNameValidator(); bool result = myPlayerNameValidator.IsPlayerNameNull(playerName); Assert.True(result); }