Does it make sense to write tests for enums?

I feel kind of like I should, just like I feel like I should write tests for public constants. If someone changes the static value, I want a test to complain about it, but PHPStan complains about me writing these tests because β€œit will always be true.” Until someone or some AI agent decides to change it.

Thoughts?

#PHP

@ramsey I think that the problem with testing enums is that you're testing a static list against... another static list? So you're duplicating the list in the test, essentially hardcoding it? A bit of an ourubouros if you ask me.