public async Task SubscribeAsync_SendsSubscribeCommandWithGivenTopic(string topic) { await _subscriber.SubscribeAsync <Event>(topic, x => { }); _fixture.MockConnectionMultiplexer.Verify(x => x.GetSubscriber(It.IsAny <object>()), Times.Once); _fixture.MockSubscriber.Verify(x => x.SubscribeAsync(topic, It.IsAny <Action <RedisChannel, RedisValue> >(), It.IsAny <CommandFlags>()), Times.Once); }