Class DefaultComponentTypeStructureRegistryTest

java.lang.Object
de.hybris.platform.cmsfacades.types.service.impl.DefaultComponentTypeStructureRegistryTest

@UnitTest public class DefaultComponentTypeStructureRegistryTest extends Object
  • Constructor Details

    • DefaultComponentTypeStructureRegistryTest

      public DefaultComponentTypeStructureRegistryTest()
  • Method Details

    • setUp

      public void setUp()
    • shouldBuildElementsCorrectly_AllUseCasesCovered

      public void shouldBuildElementsCorrectly_AllUseCasesCovered() throws Exception
      Throws:
      Exception
    • shouldCreateNewTypeStructure_typecodeNotFoundInAttribute

      public void shouldCreateNewTypeStructure_typecodeNotFoundInAttribute() throws Exception
      Throws:
      Exception
    • shouldGetAttributeByTypecodeQualifier

      public void shouldGetAttributeByTypecodeQualifier() throws Exception
      Throws:
      Exception
    • shouldGetDefaultAttribute_NoTypecodeMatch

      public void shouldGetDefaultAttribute_NoTypecodeMatch() throws Exception
      Throws:
      Exception
    • shouldNotGetAttribute_NoQualifierMatch

      public void shouldNotGetAttribute_NoQualifierMatch() throws Exception
      Throws:
      Exception
    • testAttributeValidationError

      public void testAttributeValidationError() throws Exception
      Throws:
      Exception
    • getType

      protected ComponentTypeStructure getType(String typecode)
    • getAttribute

      protected ComponentTypeAttributeStructure getAttribute(String typecode, String qualifier)