Currently, ssh2 function does not support reflection API.
So, it's not possible to retrieve theirs parameters and it's a problem in unit tests (for example) because it's not possible to mock correctly these functions and assert on them efficiently.
So, this PR add reflection API support, so it's now possible to do:
Currently,
ssh2
function does not support reflection API. So, it's not possible to retrieve theirs parameters and it's a problem in unit tests (for example) because it's not possible to mock correctly these functions and assert on them efficiently. So, this PR add reflection API support, so it's now possible to do:And with atoum, you can do: