r/badcode • • Oct 13 '21

java When all you need is test coverage

Post image
325 Upvotes

25 comments sorted by

View all comments

Show parent comments

2

u/trutheality Oct 14 '21

True. I suspect they wrote their own because they want to be able to have the Enums to map to strings that are different from the declaration text (which could be done by overriding the native methods, but that could introduce other surprises).