Aspects.Logging.Tests.Extensions.FormattableObjectExtensionTests.WhenProvingNonExistingPropertyShouldReturnTheFormat C# (CSharp) Method

WhenProvingNonExistingPropertyShouldReturnTheFormat() private method

        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");
        }