SwiftStorageProvider extends S3StorageProvider { @Override public StorageProviderType getStorageProviderType() { return StorageProviderType.SWIFT_S3; } SwiftStorageProvider(String accessKey, String secretKey, Map<String, String> options);  SwiftStorageProvider(AmazonS3 s3Client, String accessKey); @Override StorageProviderType getStorageProviderType(); @Override void removeSpace(String spaceId); @Override String createHiddenSpace(String spaceId, int expirationInDays); ObjectMetadata expireObject(String bucketName, String contentId, Integer seconds);  }
@Test public void testGetStorageProviderType() { SwiftStorageProvider provider = new SwiftStorageProvider(accessKey, secretKey, null); assertEquals(StorageProviderType.SWIFT_S3, provider.getStorageProviderType()); }