TestAsyncEnumerable from MockQueryable.Core required proper initialization. That's why I made packages for Moq, NSubstitute or FakeItEasy. I would recommend you to use one of these packages
You can see example of the initialization here. In samples you can find example of testing CountAsync
Hi
I'm using the MockQueryable.Core 3.0.1
I'm trying to a CountAsync on TestAsyncEnumerable and get a Value cannot be null. (Parameter 'arg0')
UnitTest.zip
Normal enumeration does work.
I've included a sample