public void ReversePropertyNameOneWord() { //Arrange const string propertyName = "Summit"; //Act var result = BackwardMatcher.ReversePropertyName(propertyName); //Assert Assert.Equal(propertyName, result); }
public void ReversePropertyNameMoreThanOneWord() { //Arrange const string propertyName = "Apartments Summit The"; const string reversedPropertyName = "The Summit Apartments"; //Act var result = BackwardMatcher.ReversePropertyName(propertyName); //Assert Assert.Equal(reversedPropertyName, result); }