Appccelerate.StateMachine.Machine.ActionHolders.SingleArgumentTransitionActionHolderTest.NonMatchingType C# (CSharp) Method

NonMatchingType() private method

private NonMatchingType ( ) : void
return void
        public void NonMatchingType()
        {
            var testee = new ArgumentActionHolder<IBase>(BaseAction);

            Action action = () => { testee.Execute(3); };

            action.ShouldThrow<ArgumentException>();
        }