Teste de NamedQuery.