Class DefaultMediaStorageRegistryTest


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

      • DefaultMediaStorageRegistryTest

        public DefaultMediaStorageRegistryTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnLocalFileMediaStorageStrategyForFolderNamedFileFolder

        public void shouldReturnLocalFileMediaStorageStrategyForFolderNamedFileFolder()
      • shouldThrowIllegalStateExceptionWhenNoStorageStrategyHasBeenFoundInRegistry

        public void shouldThrowIllegalStateExceptionWhenNoStorageStrategyHasBeenFoundInRegistry()
      • shouldReturnLocalFileMediaStorageStrategyForFolderWhichDoesNotHaveConfiguration

        public void shouldReturnLocalFileMediaStorageStrategyForFolderWhichDoesNotHaveConfiguration()
      • shouldThrowIllegalArgumentExceptionWhenAskingForStorageStrategyWithoutNullFolderConfig

        public void shouldThrowIllegalArgumentExceptionWhenAskingForStorageStrategyWithoutNullFolderConfig()
      • shouldThrowIllegalStateExceptionWhenNoURLStrategyHasBeenFoundInRegistry

        public void shouldThrowIllegalStateExceptionWhenNoURLStrategyHasBeenFoundInRegistry()
      • shouldReturnLocalUrlStrategyForFolderWhenThereIsNoConfiguredPreferredUrlStrategy

        public void shouldReturnLocalUrlStrategyForFolderWhenThereIsNoConfiguredPreferredUrlStrategy()
      • shouldReturnLocalUrlStrategyForFolderWhichDoesNotHaveConfiguration

        public void shouldReturnLocalUrlStrategyForFolderWhichDoesNotHaveConfiguration()
      • shouldThrowIllegalArgumentExceptionWhenAskingForUrlStrategyWithoutFolderConfig

        public void shouldThrowIllegalArgumentExceptionWhenAskingForUrlStrategyWithoutFolderConfig()