Class DefaultScriptEnginesRegistryTest
- java.lang.Object
-
- de.hybris.platform.scripting.engine.internal.impl.DefaultScriptEnginesRegistryTest
-
@IntegrationTest @ContextConfiguration("classpath:test/test-scripting-spring.xml") public class DefaultScriptEnginesRegistryTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultScriptEnginesRegistryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetOfRegisteredEngineTypesReturnedByRegistryShouldBeImmutable()voidshouldReturnRegisteredEngineTypeByItsFileExtension()voidshouldReturnRegisteredEngineTypeByItsMime()voidshouldReturnRegisteredEngineTypeByItsName()voidshouldReturnSetOfRegistredEngineTypes()voidshouldThrowIllegalStateExceptionWhenRequestingForNotRegisteredEngineType()
-
-
-
Method Detail
-
shouldReturnSetOfRegistredEngineTypes
public void shouldReturnSetOfRegistredEngineTypes() throws java.lang.Exception- Throws:
java.lang.Exception
-
setOfRegisteredEngineTypesReturnedByRegistryShouldBeImmutable
public void setOfRegisteredEngineTypesReturnedByRegistryShouldBeImmutable() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnRegisteredEngineTypeByItsName
public void shouldReturnRegisteredEngineTypeByItsName() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnRegisteredEngineTypeByItsFileExtension
public void shouldReturnRegisteredEngineTypeByItsFileExtension() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnRegisteredEngineTypeByItsMime
public void shouldReturnRegisteredEngineTypeByItsMime() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowIllegalStateExceptionWhenRequestingForNotRegisteredEngineType
public void shouldThrowIllegalStateExceptionWhenRequestingForNotRegisteredEngineType() throws java.lang.Exception- Throws:
java.lang.Exception
-
-