We use Moq in our unit tests. For a simple query like this
var stack = new ContentstackClient(config);
var query = stack.ContentType("blog").Query();
var results = await query.Find();
We would normally mock ContentstackClient, ContentType, Query but we cant do this because they are concrete classes.
Can you please introduce the following interfaces IContentstackClient, IContentType, IQuery.
If this is not possible can you provide some documentation explaining how code using the contentstack client can be tested in isolation without connecting to the content stack servers. This would ideally cover scenarios involving mocking the fluent API chain.