@UnitTest public class BundleCartValidatorTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CartModel |
cart |
protected BundleTemplateModel |
component1 |
protected BundleTemplateModel |
component2 |
protected EntryGroup |
groupErr |
protected EntryGroup |
groupOk |
protected EntryGroup |
rootGroup |
| Constructor and Description |
|---|
BundleCartValidatorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
requiredShouldInvalidateIfEntryAdded() |
void |
requiredShouldNotInvalidateEntryNotAdded() |
void |
setup() |
void |
shouldCheckSelectionCriteria() |
void |
shouldCheckTheCartIsNotNull() |
void |
shouldCheckTheListIsNotNull() |
void |
shouldIgnoreNonBundleGroups() |
void |
shouldReturnFalseIfErroneousFlagsHaveNotChanged() |
void |
shouldReturnTrueIfErroneousAnyFlagHasChanged() |
void |
shouldWorkWithEmptyGroupList() |
protected CartModel cart
protected EntryGroup rootGroup
protected EntryGroup groupOk
protected EntryGroup groupErr
protected BundleTemplateModel component1
protected BundleTemplateModel component2
public void setup()
public void shouldCheckTheListIsNotNull()
public void shouldCheckTheCartIsNotNull()
public void shouldWorkWithEmptyGroupList()
public void shouldCheckSelectionCriteria()
public void requiredShouldInvalidateIfEntryAdded()
public void requiredShouldNotInvalidateEntryNotAdded()
public void shouldIgnoreNonBundleGroups()
public void shouldReturnTrueIfErroneousAnyFlagHasChanged()
public void shouldReturnFalseIfErroneousFlagsHaveNotChanged()
Copyright © 2018 SAP SE. All Rights Reserved.