Class AbstractMockingTest

java.lang.Object
test.de.iip_ecosphere.platform.transport.spring.AbstractMockingTest
Direct Known Subclasses:
BeanHelperTest, SerializerTest, StreamTest, TransportFactoryConfigurationTest

public abstract class AbstractMockingTest extends Object
Abstract test class, which mocks certain spring cloud steam beans so that BinderFix can be instantiated.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • AbstractMockingTest

      public AbstractMockingTest()
  • Method Details

    • createBinderTypeRegistry

      @Bean public org.springframework.cloud.stream.binder.BinderTypeRegistry createBinderTypeRegistry()
      Creates a default empty binder type registry.
      Returns:
      the registry instance
    • createBindingServiceProperties

      @Bean public org.springframework.cloud.stream.config.BindingServiceProperties createBindingServiceProperties()
      Creates a mocked binding service properties instance.
      Returns:
      the properties
    • createConversionService

      @Bean("integrationConversionService") public org.springframework.core.convert.ConversionService createConversionService()
      Creates a default conversion service.
      Returns:
      the conversion service