Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expectations recorded/verified on enum elements should not require use of onInstance(enumValue) #3

Closed
rliesenfeld opened this issue Jul 15, 2014 · 0 comments
Assignees

Comments

@rliesenfeld
Copy link
Member

Currently, when recording or verifying an expectation on a specific element of a mocked enum, it is necessary to use "onInstance(EnumType.A_VALUE)" to match only that enum element. This should be unnecessary, with onInstance matching being applied automatically for enums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant