public async Task given_data_is_debouncable_and_alive_then_Handle_relays( string id, IDebouncable debouncable, TracingProperties tracingProperties, Debouncer debouncer, IMessageHandler handler) { await debouncer.Register(debouncable); var sut = new DebouncingMessageHandler(debouncer, handler); var message = new Message(id, debouncable, tracingProperties); await sut.Handle(message); Mock.Get(handler).Verify(x => x.Handle(message), Times.Once()); }