Class DefaultSourceRuleInspectorTest

java.lang.Object
de.hybris.platform.ruleengineservices.rule.services.impl.DefaultSourceRuleInspectorTest

@UnitTest public class DefaultSourceRuleInspectorTest extends Object
  • Field Details

  • Constructor Details

    • DefaultSourceRuleInspectorTest

      public DefaultSourceRuleInspectorTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldBeTrueIfActionDefinitionIsAssociatedWithSourceRule

      public void shouldBeTrueIfActionDefinitionIsAssociatedWithSourceRule() throws Exception
      Throws:
      Exception
    • shouldBeFalseIfActionDefinitionIsNotAssociatedWithSourceRule

      public void shouldBeFalseIfActionDefinitionIsNotAssociatedWithSourceRule() throws Exception
      Throws:
      Exception
    • createRuleAction

      protected RuleActionData createRuleAction(String actionId)
    • shouldBeTrueIfConditionDefinitionIsAssociatedWithSourceRule

      public void shouldBeTrueIfConditionDefinitionIsAssociatedWithSourceRule() throws Exception
      Throws:
      Exception
    • shouldBeFalseIfConditionDefinitionIsNotAssociatedWithSourceRule

      public void shouldBeFalseIfConditionDefinitionIsNotAssociatedWithSourceRule() throws Exception
      Throws:
      Exception
    • shouldBeTrueIfConditionDefinitionIsAssociatedInTheConditionsTreeWithSourceRule

      public void shouldBeTrueIfConditionDefinitionIsAssociatedInTheConditionsTreeWithSourceRule() throws Exception
      Throws:
      Exception
    • createRuleCondition

      protected RuleConditionData createRuleCondition(String conditionId, RuleConditionData... children)