Class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
java.lang.Object
de.hybris.platform.outboundservices.client.impl.DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetup()voidvoid
-
Constructor Details
-
DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
public DefaultIntegrationOAuth2RestTemplateCreatorUnitTest()
-
-
Method Details
-
setup
- 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()
-