Aspects.Logging.Tests.Extensions.FormattableObjectExtensionTests.WhenProvingNoFormatShouldReturnTheProvidedFormat C# (CSharp) Метод

WhenProvingNoFormatShouldReturnTheProvidedFormat() приватный Метод

private WhenProvingNoFormatShouldReturnTheProvidedFormat ( ) : void
Результат 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");
        }