Class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest

java.lang.Object
de.hybris.platform.outboundservices.client.impl.DefaultIntegrationOAuth2RestTemplateCreatorUnitTest

@UnitTest public class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest extends Object
  • Constructor Details

    • DefaultIntegrationOAuth2RestTemplateCreatorUnitTest

      public DefaultIntegrationOAuth2RestTemplateCreatorUnitTest()
  • Method Details

    • setup

      public void setup() throws IOException
      Throws:
      IOException
    • shouldCreateRestTemplateIfItIsNotAvailableInCache

      public void shouldCreateRestTemplateIfItIsNotAvailableInCache()
    • doesNotCreateRestTemplateIfItIsAvailableInCache

      public void doesNotCreateRestTemplateIfItIsAvailableInCache()
    • createRestTemplateIfCacheContainsTemplatesOnlyForDifferentDestination

      public void createRestTemplateIfCacheContainsTemplatesOnlyForDifferentDestination()
    • shouldThrowUnsupportedRestTemplateExceptionWhenConsumedDestinationIsNotOAuth

      public void shouldThrowUnsupportedRestTemplateExceptionWhenConsumedDestinationIsNotOAuth()
    • mayNotHaveInterceptors

      public void mayNotHaveInterceptors()
    • messageConvertersIsEmptyWhenSetWithNull

      public void messageConvertersIsEmptyWhenSetWithNull()
    • setMessageConvertersDoesNotLeakReferences

      public void setMessageConvertersDoesNotLeakReferences()
    • getMessageConvertersDoesNotLeakReferences

      public void getMessageConvertersDoesNotLeakReferences()
    • requestInterceptorsIsEmptyWhenSetWithNull

      public void requestInterceptorsIsEmptyWhenSetWithNull()
    • setRequestInterceptorsDoesNotLeakReference

      public void setRequestInterceptorsDoesNotLeakReference()
    • getRequestInterceptorsDoesNotLeakReferences

      public void getRequestInterceptorsDoesNotLeakReferences()