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); }