public void FormattedValue() { var tag = new HostnameTag(); tag.Formatter = "machine={0}"; Assert.That(tag.FormattedValue.StartsWith("machine")); Assert.That(tag.FormattedValue.EndsWith(Environment.MachineName)); }
public void FormattedValue() { var tag = new HostnameTag(); tag.Formatter = "machine={0}"; Assert.That(tag.FormattedValue.StartsWith("machine")); Assert.That(tag.FormattedValue.EndsWith(Environment.MachineName)); }