AspUnitRunner.Tests.TestResults.FormatDetails_with_two_details_should_return_expected_string C# (CSharp) Method

FormatDetails_with_two_details_should_return_expected_string() private method

        public void FormatDetails_with_two_details_should_return_expected_string()
        {
            var expectedFormat = "Failure: Container.Test1: First" + Environment.NewLine
                + "Error: Container.Test2: Second";
            var results = new Results {
                DetailList = new IResultDetail[] {
                    new ResultDetail(ResultType.Failure, "Container.Test1", "First"),
                    new ResultDetail(ResultType.Error, "Container.Test2", "Second")
                }
            };

            Assert.That(results.FormatDetails(), Is.EqualTo(expectedFormat));
        }