Use verifyCalled to check for only one input value?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Mock Dependencies in Tests en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!