In an test assertion, do you prefer the expected value first or the actual value first? (

I have been back and forth on this over the years. Sometimes I feel one is more legible than the other. Then I change my mind.

Why do I care? Curiosity! (Probably also some form of API perfectionism 😳 )

Team assertEquals(actualValue, expectedValue)
71.4%
Team assertEquals(expectedValue, actualValue)
28.6%
I never cared about this
0%
Poll ended at .

Neither. I just use #AssertJ! 🤓

And yes, this is coming from a #JUnit maintainer. 😇