use ->isEqualTo instead of ->equals for sf 2.1