public void ForkJoin_ArgumentNullChecks() { ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbNull, _qbMy, (a, b) => a + b)); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbMy, _qbNull, (a, b) => a + b)); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbMy, _qbMy, default(Expression <Func <int, int, int> >))); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(default(IQbservableProvider), _qbMy)); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbp, default(IQbservable <int>[]))); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(default(IQbservableProvider), new MyQueryable <IObservable <int> >())); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbp, default(IQueryable <IObservable <int> >))); }
public void ForkJoin_ArgumentNullChecks() { ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbNull, _qbMy, (a, b) => a + b)); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbMy, _qbNull, (a, b) => a + b)); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(_qbMy, _qbMy, default(Expression <Func <int, int, int> >))); ReactiveAssert.Throws <ArgumentNullException>(() => QbservableEx.ForkJoin(default, _qbMy));