One more "hand written test" replaced with an AssertJ assert