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

WhenProvingNoFormatShouldReturnTheProvidedFormat() private method

private WhenProvingNoFormatShouldReturnTheProvidedFormat ( ) : void
return void
        public void WhenProvingNoFormatShouldReturnTheProvidedFormat()
        {
            const string Teststring = "TestString";
            FormatableObject person = new FormatableObject();
            string str = person.ToString(Teststring);
            str.Should().Be(Teststring, "because because the provided string had no property declared");
        }