Acceptance.Silverlight.Classic.WithExtensions.How_to_use_args.verify_did_not_call_with_wrong_args C# (CSharp) Méthode

verify_did_not_call_with_wrong_args() private méthode

private verify_did_not_call_with_wrong_args ( ) : void
Résultat void
        public void verify_did_not_call_with_wrong_args()
        {
            Subject.MethodWithArgs(1, 2, null);
            Subject.Should().ForwardToMethodWithArgs(1, 2, null);

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