spring-projects/spring-xd — pull request #1293 by garyrussell (2014-11-17 18:28:04+00:00)
Title: Add Test Env. Variable; Remove Bogus Test File

Spring Integration components that create messages require
a `BeanFactory` to get access to the configured `MessageBuilderFactory`.

An environment variable `SI_FATAL_WHEN_NO_BEANFACTORY` helps developers
by treating a missing bean factory as fatal.

Spring XD (particularly in message bus implementations) programmatically
creates many SI components; we need to ensure such components get a bean
factory.

Set the environment variable when running test cases.

This has the (unfortunate) side effect of requiring a bean factory
for components created programmatically in test cases. In this case
simply inject `mock(BeanFactory.class)`.

Also remove an invalid test class from `spring-xd-hadoop`.