public void should_not_throw_if_there_are_only_signals_in_the_batch() { using (var waitHandle = new ManualResetEvent(false)) { _matcher.Start(); Assert.DoesNotThrow(() => _matcher.PersistBatch(new List <MatcherEntry> { MatcherEntry.EventWaitHandle(waitHandle), MatcherEntry.EventWaitHandle(waitHandle) })); } }