public class ContainerCredentialsFetcherTest extends Object
Modifier and Type | Field and Description |
---|---|
static WireMockRule |
mockServer |
Constructor and Description |
---|
ContainerCredentialsFetcherTest() |
Modifier and Type | Method and Description |
---|---|
static void |
setup() |
void |
testLoadCredentialsParsesJsonResponseProperly()
Test that loadCredentials returns proper credentials when response from client is in proper Json format.
|
void |
testLoadCredentialsThrowsAceWhenClientResponseDontHaveKeys()
Test that when credentials are null and response from client does not have access key/secret key,
throws AmazonClientException.
|
void |
testNeedsToLoadCredentialsMethod()
Tests that the credentials provider reloads credentials appropriately
|
void |
testNoMetadataService()
Tests how the credentials provider behaves when the
server is not running.
|
public static void setup() throws IOException
IOException
public void testNeedsToLoadCredentialsMethod() throws Exception
Exception
public void testLoadCredentialsParsesJsonResponseProperly()
public void testLoadCredentialsThrowsAceWhenClientResponseDontHaveKeys()
Copyright © 2024. All rights reserved.