public void ShouldFlushEventsAfterTimeout()
 {
     using var plugin = new TestPlugin(Mock.Of <ISettingsProvider>());
     foreach (var @event in TestEventSource.TypedLogEvents.Skip(10).Take(10))
     {
         plugin.OnNext(@event);
     }
     plugin.FlushQueue();
     CollectionAssert.IsNotEmpty(plugin.Flushed);
     Assert.AreEqual(10, plugin.Flushed.Count);
 }