public void ThrowAnExceptionWhenStoppedAfterDisposed()
        {
            var target = new AutomationRuntime();

            target.Dispose();

            Assert.Throws <ObjectDisposedException>(() => target.Stop());
        }
        public void StopsTheProcessor()
        {
            using var target = new AutomationRuntime();
            target.Add(processor.Object);

            target.Stop();

            processor.Verify(o => o.Stop(), Times.Once);
        }