public void ShouldReturnValueWithNumericValueTrimmedFromTheStart(string sourceValue) { // Arrange var sut = new NameWithNoNumberAtStartConvention(); // Act var result = sut.ApplyConvention(sourceValue); // Assert Assert.Equal("GenCamaro", result); }
public void ShouldReturnSameValueIsNotStartingWithNumeric(string sourceValue, string expectedValue) { // Arrange var sut = new NameWithNoNumberAtStartConvention(); // Act var result = sut.ApplyConvention(sourceValue); // Assert Assert.Equal(expectedValue, result); }