Cannot unit test a class with a method returning RedisResult with StackExchange.Redis
I have a simple wrapper for stackexchange redis: public interface IRedisClient { Task<RedisResult> ScriptEvaluate(LuaScript script, object parameters); } I have a method that calls ScriptEvaluate public class Foo { private readonly IRedisClient _client; public Foo(IRedisClient client) { _client = client;…