Class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest


  • @UnitTest
    public class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultIntegrationOAuth2RestTemplateCreatorUnitTest

        public DefaultIntegrationOAuth2RestTemplateCreatorUnitTest()
    • Method Detail

      • setup

        public void setup()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldCreateRestTemplateIfItIsNotAvailableInCache

        public void shouldCreateRestTemplateIfItIsNotAvailableInCache()
      • doesNotCreateRestTemplateIfItIsAvailableInCache

        public void doesNotCreateRestTemplateIfItIsAvailableInCache()
      • createRestTemplateIfCacheContainsTemplatesOnlyForDifferentDestination

        public void createRestTemplateIfCacheContainsTemplatesOnlyForDifferentDestination()
      • shouldThrowUnsupportedRestTemplateExceptionWhenConsumedDestinationIsNotOAuth

        public void shouldThrowUnsupportedRestTemplateExceptionWhenConsumedDestinationIsNotOAuth()
      • mayNotHaveInterceptors

        public void mayNotHaveInterceptors()