Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Expectations recorded/verified on enum elements should not require use of onInstance(enumValue) #3
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.