Btw. there is another issue with using a custom VF with no-op methods during the test. On the console I see this stack trace when running CustomValidatorFactoryInPersistenceUnitIT (WARN level, i.e. no failure):
We don't have to make everything no-op. If unwrap does not work, we can just a certain method a no-op. Either way, I would prefer to assert somehow the factory and not that entities can be validated.
|