public void FlushTest() { //Arrange var redisAdapterMock = new Mock <IRedisAdapter>(); var splitCache = new RedisSplitCache(redisAdapterMock.Object); //Act splitCache.Flush(); //Assert redisAdapterMock.Verify(mock => mock.Flush(), Times.Once()); }
public void FlushTest() { //Act _redisSplitCache.Flush(); }