Equals does no do what people might think. See: https://community.sonarsource.com/t/fluentassertion-should-and-equals-methods-shouldnt-be-used-together/38181