Declined
Last Updated: 28 Jun 2023 13:24 by ADMIN
Mihail
Created on: 19 Aug 2021 08:01
Type: Feature Request
0
Implement custom behaviors

Allow the developer to create custom behaviors and use them in an arrangement. Something like the following:

            Mock.Arrange(() => foo.CalcData(Arg.AnyInt, Arg.AnyInt), new IBehavior[]
            {
                new LogInvocation(),
                new ReturnBaseOrDefaultValue(),
            });

0 comments