public void UpdatesValuesSuccessfully() { var original = new FormattedLogValues("The first number is {first} and the second is {second}", 10.ToString(), 20.ToString()); var updated = original.SetValues(20.ToString(), 30.ToString()); Assert.Equal("The first number is 20 and the second is 30", updated.ToString()); }