Use verifyCalled to check for only one input value?
显示 更早的评论
Is it possible to use verifyCalled in a unit test to verify that a function was called and that one of many parameters (e.g. the second only) is equal to a specifiy value? In all examples I can find either all parameter values are checked or none of them.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mock Dependencies in Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!