@Test public void getBasicAwsCredentials_ReturnsSameCredentials() throws Exception { final BasicAWSCredentials credentials = new BasicAWSCredentials("akid", "skid"); final AWSCredentials actualCredentials = new AWSStaticCredentialsProvider(credentials).getCredentials(); assertEquals(credentials, actualCredentials); }
public AWSCredentials getCredentials() { return credentials; }
AWSStaticCredentialsProvider implements AWSCredentialsProvider { public AWSCredentials getCredentials() { return credentials; } }
AWSStaticCredentialsProvider implements AWSCredentialsProvider { public AWSCredentials getCredentials() { return credentials; } AWSStaticCredentialsProvider(AWSCredentials credentials); }
AWSStaticCredentialsProvider implements AWSCredentialsProvider { public AWSCredentials getCredentials() { return credentials; } AWSStaticCredentialsProvider(AWSCredentials credentials); AWSCredentials getCredentials(); void refresh(); }
AWSStaticCredentialsProvider implements AWSCredentialsProvider { public AWSCredentials getCredentials() { return credentials; } AWSStaticCredentialsProvider(AWSCredentials credentials); AWSCredentials getCredentials(); void refresh();  }