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!