Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Ensure an exact amount of arguments are passed to a mocked function. #32

Open
tomro88o opened this Issue · 0 comments

1 participant

@tomro88o

Is there a way to ensure that an exact amount of parameters are passed to a mocked function? For example, expect 3 parameters and fail if 4 are passed.
I expected to be able to achieve this with the with() function but it only fails when less than the expected amount are passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.