@UnitTest public class DefaultIntegrationOAuth2RestTemplateCreatorUnitTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultIntegrationOAuth2RestTemplateCreatorUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldCreateRestTemplate_whenTrustStoreFileMissing() |
void |
shouldCreateRestTemplate_whenTrustStoreWrongPassword() |
void |
shouldCreateRestTemplate_withoutTrustStore() |
void |
shouldCreateRestTemplate_withTrustStore() |
void |
shouldNoInterceptor() |
void |
shouldThrowUnsupportedRestTemplateException() |
public DefaultIntegrationOAuth2RestTemplateCreatorUnitTest()
public void setup()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic void shouldCreateRestTemplate_withTrustStore()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic void shouldCreateRestTemplate_withoutTrustStore()
public void shouldCreateRestTemplate_whenTrustStoreFileMissing()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic void shouldCreateRestTemplate_whenTrustStoreWrongPassword()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic void shouldThrowUnsupportedRestTemplateException()
public void shouldNoInterceptor()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.