public void AssertNotNullOrEmptyOnNonEmptyEnumerableDoesNotThrowException()
        {
            var sut = new List<string>();
            sut.Add("one");
            sut.Add("two");

            sut.AssertNotNullOrEmpty(true, "sut");
        }
        public void AssertNotNullOrEmptyIncludingContentsOnEnumerableWithNullValuesThrowsArgumentException()
        {
            var sut = new List<string>();
            sut.Add("one");
            sut.Add(null);

            var ex = Assert.Throws<ArgumentException>(() => sut.AssertNotNullOrEmpty(true, "sut"));

            Assert.Equal("sut", ex.ParamName);
            Assert.NotNull(ex.Message);
        }
        public void AssertNotNullOrEmptyOnEmptyEnumerableThrowsArgumentException()
        {
            var sut = new List<string>();

            var ex = Assert.Throws<ArgumentException>(() => sut.AssertNotNullOrEmpty(true, "sut"));

            Assert.Equal("sut", ex.ParamName);
            Assert.NotNull(ex.Message);
        }
        public void AssertNotNullOrEmptyExcludingContentsOnEnumerableWithNullValuesDoesNotThrowException()
        {
            var sut = new List<string>();
            sut.Add("one");
            sut.Add(null);

            sut.AssertNotNullOrEmpty(false, "sut");
        }