Class DefaultCartBundleComponentEditableCheckerTest
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.bundle.impl.DefaultCartBundleComponentEditableCheckerTest
-
@UnitTest public class DefaultCartBundleComponentEditableCheckerTest extends java.lang.Object
JUnit test suite forDefaultCartBundleComponentEditableChecker
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUNDLE_TEMPLATE_IDorg.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description DefaultCartBundleComponentEditableCheckerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestCheckComponentIsLeafWhenChildTemplatesListIsEmpty()voidtestCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty()voidtestCheckComponentIsLeafWhenChildTemplatesListIsNull()voidtestIsRequiredDependencyMetAllFilled()voidtestIsRequiredDependencyMetNoRequiredComponents()voidtestIsRequiredDependencyMetNotAllFilled()
-
-
-
Field Detail
-
BUNDLE_TEMPLATE_ID
public static final java.lang.String BUNDLE_TEMPLATE_ID
- See Also:
- Constant Field Values
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCheckComponentIsLeafWhenChildTemplatesListIsNull
public void testCheckComponentIsLeafWhenChildTemplatesListIsNull() throws CommerceCartModificationException
-
testCheckComponentIsLeafWhenChildTemplatesListIsEmpty
public void testCheckComponentIsLeafWhenChildTemplatesListIsEmpty() throws CommerceCartModificationException
-
testCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty
public void testCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty() throws CommerceCartModificationException
-
testIsRequiredDependencyMetNoRequiredComponents
public void testIsRequiredDependencyMetNoRequiredComponents()
-
testIsRequiredDependencyMetAllFilled
public void testIsRequiredDependencyMetAllFilled()
-
testIsRequiredDependencyMetNotAllFilled
public void testIsRequiredDependencyMetNotAllFilled()
-
-