public void ManyMatch() { int[] source = { 4, 4, 4, 4, 4 }; Assert.Throws<InvalidOperationException>(() => source.AsQueryable().SingleOrDefault()); }