@UnitTest public class DefaultIntegrationBasicRestTemplateCreatorUnitTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultIntegrationBasicRestTemplateCreatorUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldCreateRestTemplate_whenTrustStoreFileMissing() |
void |
shouldCreateRestTemplate_whenTrustStoreWithoutPassword() |
void |
shouldCreateRestTemplate_whenTrustStoreWrongPassword() |
void |
shouldCreateRestTemplate_withoutTrustStore() |
void |
shouldCreateRestTemplate_withTrustStore() |
void |
shouldOnlyHaveBasicAuthorizationInterceptor() |
void |
shouldThrowUnsupportedRestTemplateException() |
public DefaultIntegrationBasicRestTemplateCreatorUnitTest()
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 shouldCreateRestTemplate_whenTrustStoreWithoutPassword()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic void shouldThrowUnsupportedRestTemplateException()
public void shouldOnlyHaveBasicAuthorizationInterceptor()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.