Class DefaultMediaStorageRegistryTest

java.lang.Object
de.hybris.platform.media.storage.impl.DefaultMediaStorageRegistryTest

@UnitTest public class DefaultMediaStorageRegistryTest extends Object
  • Constructor Details

    • DefaultMediaStorageRegistryTest

      public DefaultMediaStorageRegistryTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      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()