@ardalis there are some real test command and validator objects have been used in the ValidationBehaviorTests.cs file.
- TestCommand
- TestCommandValidator
- ResultTestCommand
- ResultTestCommandValidator
- GenericResultTestCommand
- GenericResultTestCommandValidator
I think we can use mock objects instead of those real objects. The advantage will be, we can verify those mocks in the unit tests.
If you want this change, then can I send a pull request for this?
@ardalis there are some real test command and validator objects have been used in the ValidationBehaviorTests.cs file.
I think we can use
mockobjects instead of those real objects. The advantage will be, we can verify those mocks in the unit tests.If you want this change, then can I send a pull request for this?