public void CanAddInnerFailures()
        {
            AssertionFailure inner1 = new AssertionFailureBuilder("Inner1").ToAssertionFailure();
            AssertionFailure inner2 = new AssertionFailureBuilder("Inner2").ToAssertionFailure();
            AssertionFailure inner3 = new AssertionFailureBuilder("Inner3").ToAssertionFailure();

            AssertionFailureBuilder builder = new AssertionFailureBuilder("Description");

            builder.AddInnerFailures(new[] { inner1, inner2 });
            builder.AddInnerFailure(inner3);

            Assert.Over.Pairs(new[] { inner1, inner2, inner3 }, builder.ToAssertionFailure().InnerFailures,
                              Assert.AreEqual);
        }
        public void AddInnerFailuresThrowsIfArgumentIsNull()
        {
            AssertionFailureBuilder builder = new AssertionFailureBuilder("Description");

            Assert.Throws <ArgumentNullException>(() => builder.AddInnerFailures(null));
        }