Module testModule = new Module() {
public void configure(Binder binder) {
binder.bindList(DataDomainProvider.FILTERS_LIST);
binder.bind(EventManager.class).toInstance(eventManager);
binder.bind(EntitySorter.class).toInstance(new AshwoodEntitySorter());
binder.bind(ResourceLocator.class).toInstance(locator);
binder.bind(RuntimeProperties.class).toInstance(testProperties);
binder.bind(ConfigurationNameMapper.class).to(
DefaultConfigurationNameMapper.class);
binder.bind(DataChannelDescriptorLoader.class).toInstance(testLoader);