public void MatchOnNullOnValueThrow() { Assert.Throws <ArgumentNullException>(() => StormExtensions.Match <object>(Mock.Of <IStormContent <object> >(), null, v => throw new Exception())); }
public void MatchOnNullContentThrow() { Assert.Throws <ArgumentNullException>(() => StormExtensions.Match <object>(null, v => throw new Exception(), v => throw new Exception())); }