@UnitTest public class DefaultCartBundleComponentEditableCheckerTest extends Object
DefaultCartBundleComponentEditableChecker| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLE_TEMPLATE_ID |
ExpectedException |
thrown |
| Constructor and Description |
|---|
DefaultCartBundleComponentEditableCheckerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testCanEdit() |
void |
testCheckComponentIsLeafWhenChildTemplatesListIsEmpty() |
void |
testCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty() |
void |
testCheckComponentIsLeafWhenChildTemplatesListIsNull() |
void |
TestCheckComponentIsLeafWhenComponentIsNull() |
void |
TestCheckIsComponentDependencyMetWhenNoMasterCart() |
void |
TestCheckIsComponentSelectionCriteriaMetWhenNoMasterCart() |
public static final String BUNDLE_TEMPLATE_ID
public ExpectedException thrown
public DefaultCartBundleComponentEditableCheckerTest()
public void TestCheckIsComponentDependencyMetWhenNoMasterCart()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void TestCheckIsComponentSelectionCriteriaMetWhenNoMasterCart()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void testCanEdit()
public void TestCheckComponentIsLeafWhenComponentIsNull()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void testCheckComponentIsLeafWhenChildTemplatesListIsNull()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void testCheckComponentIsLeafWhenChildTemplatesListIsEmpty()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void testCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty()
throws CommerceCartModificationException
CommerceCartModificationExceptionCopyright © 2017 SAP SE. All Rights Reserved.