public void Test_ExecutesEachExecutorsIfDetectorReturnsTrue()
        {
            detector.Setup(d => d.Find()).Returns(true);

            var processor = new GenericProcessor(detector.Object, configAppender.Object, assemMover.Object);

            processor.Execute();

            configAppender.Verify(c => c.Execute(), Times.Once);
            assemMover.Verify(a => a.Move(), Times.Once);
        }
        public void Test_DoesNothingIfDetectorReturnsFalse()
        {
            detector.Setup(d => d.Find()).Returns(false);

            var processor = new GenericProcessor(detector.Object, configAppender.Object, assemMover.Object);

            processor.Execute();

            configAppender.Verify(c => c.Execute(), Times.Never);
            assemMover.Verify(a => a.Move(), Times.Never);
        }