Пример #1
0
        public static void ComparerContains_Null_Throws(Try <string, Version> @try)
        {
            var actual = Record.Exception(() => @try.Contains(value: null, EqualityComparer <Version> .Default));

            var ane = Assert.IsType <ArgumentNullException>(actual);

            Assert.Contains("value", ane.Message, Ordinal);
        }