Class S3MediaURLStrategyTest


  • @UnitTest
    public class S3MediaURLStrategyTest
    extends java.lang.Object
    • Constructor Detail

      • S3MediaURLStrategyTest

        public S3MediaURLStrategyTest()
    • 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()