MULE-7755: Patterns project deprecation.

Given that is for tests and no performance is required but rather legibility is preferred, use equalsBuilder?