public void ReturnsFalseWhenTheProcessorHasNotBeenAdded()
        {
            using var target = new AutomationRuntime();
            var result = target.Remove(processor.Object);

            Assert.False(result);
        }
        public void ReturnsTrueWhenTheProcessorHasBeenRemoved()
        {
            using var target = new AutomationRuntime();
            target.Add(processor.Object);

            var result = target.Remove(processor.Object);

            Assert.True(result);
        }
 public void ThrowsAnExceptionIfTheProcessorIsNullWhenRemoved()
 {
     using var target = new AutomationRuntime();
     Assert.Throws <ArgumentNullException>(() => target.Remove(null));
 }