Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var redisMock = new Mock<IRedisService>();
- public interface IRedisService
- {
- Task SetValueAsync(string key, string value);
- Task<string> GetValueAsync(string key);
- }
- public class RedisTestImplementation : IRedisService
- {
- //here, List.Add, List[i] etc
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement