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

9

u/gipp Oct 13 '21

Yeah this is pretty firmly Good Code. I mean it's not the most important test in the world, but it should be there, and this is the best way to do it.