public void IsValidIdentifier_ValidStringGiven_ShouldReturnTrue() { bool? result = false; using (var testee = new CSharpIdentifierValidator()) { result = testee.IsValidIdentifier("variable"); } result.Should().Be(true); }
public void IsValidIdentifier_ValidStringGiven_ShouldReturnTrue() { bool?result = false; using (var testee = new CSharpIdentifierValidator()) { result = testee.IsValidIdentifier("variable"); } result.Should().Be(true); }
public void IsValidIdentifier_VarNameNullValueGiven_ShouldThrowArgumentNullException() { var cSharpIdentifierValidator = new CSharpIdentifierValidator(); cSharpIdentifierValidator.IsValidIdentifier(null); }