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

Closed
rliesenfeld opened this Issue Jul 15, 2014 · 0 comments

Comments

1 participant
@rliesenfeld
Member

rliesenfeld commented Jul 15, 2014

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