Aspects.Logging.Tests.Extensions.FormattableObjectExtensionTests.WhenProvingNonExistingPropertyShouldReturnTheFormat C# (CSharp) Méthode

WhenProvingNonExistingPropertyShouldReturnTheFormat() private méthode

private WhenProvingNonExistingPropertyShouldReturnTheFormat ( ) : void
Résultat void
        public void WhenProvingNonExistingPropertyShouldReturnTheFormat()
        {
            const string Teststring = "{TestString}";
            FormatableObject formatableObject = new FormatableObject();
            string str = formatableObject.ToString(Teststring);
            str.Should().Be(Teststring, "because because the provided string had no property declared");
        }