Class AbstractBundleValidationTest

    • Constructor Detail

      • AbstractBundleValidationTest

        public AbstractBundleValidationTest()
    • Method Detail

      • validate

        protected java.util.Set<HybrisConstraintViolation> validate​(java.lang.String bundleTemplateId,
                                                                    java.lang.String constraintGroupId)
        Validate bundle template against given validation group.
        Parameters:
        bundleTemplateId - bundle template id
        constraintGroupId - id of validator group to use
        Returns:
        collection of validation violations
      • getBundleTemplate

        protected BundleTemplateModel getBundleTemplate​(java.lang.String templateId)
        Get bundle template by ID.
        Parameters:
        templateId - id
        Returns:
        bundle template
      • importString

        protected void importString​(java.lang.String impex)
                             throws ImpExException
        Import given string as ImpEx.
        Parameters:
        impex - impex script body
        Throws:
        ImpExException