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