Class S3MediaURLStrategyTest
- java.lang.Object
-
- de.hybris.platform.amazon.media.url.S3MediaURLStrategyTest
-
@UnitTest public class S3MediaURLStrategyTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description S3MediaURLStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateS3MediaURLStrategy()voidshouldRenderS3SignedUrlOverHttpsUsingS3ServiceForFolderAndLocation()voidshouldReturnEmptyUrlWhenS3RelatedServicesWillThrowExternalStorageServiceException()voidshouldThrowIllegalArgumentExceptionWhenFolderConfigIsNull()voidshouldThrowIllegalArgumentExceptionWhenMediaSourceIsNull()
-
-
-
Method Detail
-
createS3MediaURLStrategy
public void createS3MediaURLStrategy() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNull
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNull()
-
shouldThrowIllegalArgumentExceptionWhenMediaSourceIsNull
public void shouldThrowIllegalArgumentExceptionWhenMediaSourceIsNull()
-
shouldRenderS3SignedUrlOverHttpsUsingS3ServiceForFolderAndLocation
public void shouldRenderS3SignedUrlOverHttpsUsingS3ServiceForFolderAndLocation() throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
shouldReturnEmptyUrlWhenS3RelatedServicesWillThrowExternalStorageServiceException
public void shouldReturnEmptyUrlWhenS3RelatedServicesWillThrowExternalStorageServiceException()
-
-