@Test
public void testGetPrivateKey() {

    System.setProperty("athenz.aws.s3.region", "us-east-1");
    System.setProperty("athenz.aws.store_kms_region", "us-east-1");
    AwsPrivateKeyStoreFactory awsPrivateKeyStoreFactory = new AwsPrivateKeyStoreFactory();
    assertTrue(awsPrivateKeyStoreFactory.create() instanceof AwsPrivateKeyStore);
    AwsPrivateKeyStore awsPrivateKeyStore = new AwsPrivateKeyStore();
    awsPrivateKeyStore = new AwsPrivateKeyStore();
    StringBuilder privateKeyId = new StringBuilder("testPrivateKeyId");
    awsPrivateKeyStore.getPrivateKey("zms", "testServerHostName", privateKeyId);
    awsPrivateKeyStore.getPrivateKey("testService", "testserverHostname", privateKeyId);
    System.clearProperty("athenz.aws.s3.region");
    System.clearProperty(ATHENZ_AWS_KMS_REGION);
}