예제 #1
0
파일: Map.cs 프로젝트: pfpack/pfpack-core
        public void Map_MapSecondFuncIsNull_ExpectArgumentNullException(
            TaggedUnion <RefType, StructType> source)
        {
            var ex = Assert.Throws <ArgumentNullException>(
                () => _ = source.Map <int, StructType>(_ => 275, null !));

            Assert.AreEqual("mapSecond", ex !.ParamName);
        }