public void AddThrownNullListFuncReturns() { var count = 0; ExceptionExtensions.AddThrown(null, () => count++); Assert.AreEqual(1, count); }
public void ExceptionsAreThrownIfListIsNull() { ExceptionExtensions.AddThrown(null, () => { throw new ArgumentOutOfRangeException(); }); }