Acceptance.Silverlight.Classic.WithStatics.How_to_use_args.verify_did_not_call_with_wrong_args C# (CSharp) Метод

verify_did_not_call_with_wrong_args() приватный Метод

private verify_did_not_call_with_wrong_args ( ) : void
Результат void
        public void verify_did_not_call_with_wrong_args()
        {
            Subject.MethodWithArgs(1, 2, null);
            Then.Should(Subject).ForwardToMethodWithArgs(1, 2, null);

            Then.ShouldNot(Subject).ForwardToMethodWithArgs(4, 5, 6);
            Then.ShouldNot(Subject).ForwardToMethodWithArgs(1, 2, 3);
            Then.ShouldNot(Subject).ForwardToMethodWithArgs();
            Then.ShouldNot(Subject).ForwardToMethodWithArgs(null);
            Then.ShouldNot(Subject).ForwardToMethodWithArgs("1", 2, null);
            Then.ShouldNot(Subject).ForwardToMethodWithArgs(1);
        }