@UnitTest public class DefaultCartBundleComponentEditableCheckerTest extends java.lang.Object
DefaultCartBundleComponentEditableChecker| Modifier and Type | Field and Description |
|---|---|
static java.lang.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 |
testIsRequiredDependencyMetAllFilled() |
void |
testIsRequiredDependencyMetNoRequiredComponents() |
void |
testIsRequiredDependencyMetNotAllFilled() |
public static final java.lang.String BUNDLE_TEMPLATE_ID
public ExpectedException thrown
public DefaultCartBundleComponentEditableCheckerTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testCanEdit()
public void testCheckComponentIsLeafWhenChildTemplatesListIsNull()
throws CommerceCartModificationException
public void testCheckComponentIsLeafWhenChildTemplatesListIsEmpty()
throws CommerceCartModificationException
public void testCheckComponentIsLeafWhenChildTemplatesListIsNotEmpty()
throws CommerceCartModificationException
public void testIsRequiredDependencyMetNoRequiredComponents()
public void testIsRequiredDependencyMetAllFilled()
public void testIsRequiredDependencyMetNotAllFilled()
Copyright © 2018 SAP SE. All Rights Reserved.