I'm not familiar enough with error prone matchers to know which is better - this is clear though, and I don't object to the code.