I wrote the test code knowing that there is no test code in this class.

Comment From: rstoyanchev

I'm sorry but I don't see the point in this. Verifying the value of an enum has nothing to do with the actual enum, it's how all enums work. The resolve method is a map lookup, and matches is a trivial delegate to resolve. Testing all this with parameterized tests is quite unnecessary, and I'd say the whole test class is unnecessary because the code paths for these trivial methods are exercised all over the codebase.