public static void FoldImplicit_NullValue_Throws(Func <int, int, int> folder) { var actual = Record.Exception(() => CollectionExtensions.Fold(null, folder)); var ane = Assert.IsType <ArgumentNullException>(actual); Assert.Contains("collection", ane.Message, Ordinal); }