public void ExecuteActionNullExecuteActionDoesNotThrowException()
        {
            using (var systemUnderTest = new WizardButtons())
            {
                var eventArgs = new EventArgs();
                systemUnderTest.OnExecute += null;

                FluentActions.Invoking(() => systemUnderTest.ExecuteAction(eventArgs))
                .Should()
                .NotThrow();
            }
        }
        public void ExecuteAction()
        {
            var customEventExecuted = false;

            using (var systemUnderTest = new WizardButtons())
            {
                var eventArgs = new EventArgs();
                systemUnderTest.OnExecute += (x, y) => { customEventExecuted = true; };

                FluentActions.Invoking(() => systemUnderTest.ExecuteAction(eventArgs))
                .Should()
                .NotThrow();

                customEventExecuted.Should().BeTrue();
            }
        }