This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Description
Requested feature Check type of arguments and return type for callback function in Do/DoAndReturn while add callback, similar to check types of return values in Return function.
Why the feature is needed Now Do/DoAndReturn functions check count arguments only, but real type checked at call moment. It will be better cause error on mock initialization instead of mock call - because I see line where initialization failed.
(Optional) Proposed solution Check callback arguments in Do and DoAndReturn about it same as original func arg type of assignable from them.