How to create an Azure.AsyncPageable for mocking?
I would like to mock a C# method that returns an Azure.AsyncPageable . This class has only protected constructors, so I cannot instantiate it directly. Is there any way to create an instance of this class from some other collection, such as an IAsyncEnumerable or just a List ?