public static void CollectAny1a() { IEnumerable <Either <int, int> > source = new ThrowingEnumerable <Either <int, int> >(); var q = Assert.DoesNotThrow(() => source.CollectAny()); Assert.ThrowsOnNext(q); }