Class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
- java.lang.Object
-
- de.hybris.platform.outboundservices.client.impl.DefaultIntegrationOAuth2RestTemplateCreatorUnitTest
-
@UnitTest public class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultIntegrationOAuth2RestTemplateCreatorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateRestTemplateIfCacheContainsTemplatesOnlyForDifferentDestination()voiddoesNotCreateRestTemplateIfItIsAvailableInCache()voidmayNotHaveInterceptors()voidsetup()voidshouldCreateRestTemplateIfItIsNotAvailableInCache()voidshouldThrowUnsupportedRestTemplateExceptionWhenConsumedDestinationIsNotOAuth()
-
-
-
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()
-
-