Corrige IsPredicate / ToFunction

Com as refatorações os testes não funcionavam mais.

WAY-203
Merge pull request #102 in WAY/way from feature/WAY-203-pojo-tofunction-ispredicate to release/1.13.0

* commit '80fe7ab3014b6ce0bc5073bc3d91e94e99d47ed9':
  Corrige IsPredicate / ToFunction