Java DSL: Fix EnricherSpec to prevent assertions

Fixes: https://github.com/spring-projects/spring-integration-extensions/issues/101