Package de.hybris.platform.order.impl
Class DefaultEntryGroupServiceTest
java.lang.Object
de.hybris.platform.order.impl.DefaultEntryGroupServiceTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DefaultEntryGroupServiceprotected final GroupTypeprotected final EntryGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntryGroupentryGroup(Integer number, EntryGroup... children) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
entryGroupService
-
groupType
-
root
-
-
Constructor Details
-
DefaultEntryGroupServiceTest
public DefaultEntryGroupServiceTest()
-
-
Method Details
-
shouldThrowExceptionIfGroupDoesNotExist
public void shouldThrowExceptionIfGroupDoesNotExist() -
shouldReturnEntryGroupByNumber
public void shouldReturnEntryGroupByNumber() -
shouldFlattenEntryGroups
public void shouldFlattenEntryGroups() -
shouldFlattenDownFromGivenSubroot
public void shouldFlattenDownFromGivenSubroot() -
shouldGetLeaves
public void shouldGetLeaves() -
shouldGetRoot
public void shouldGetRoot() -
shouldStartFlatListFromRoot
public void shouldStartFlatListFromRoot() -
shouldPreventSiblingsOrder
public void shouldPreventSiblingsOrder() -
shouldPutChildrenAfterParent
public void shouldPutChildrenAfterParent() -
shouldGetParentOfLeaf
public void shouldGetParentOfLeaf() -
shouldGetParentOfRoot
public void shouldGetParentOfRoot() -
shouldThrowExceptionIfNoGroupCart
public void shouldThrowExceptionIfNoGroupCart() -
shouldThrowExceptionOnDuplicateEntryGroup
public void shouldThrowExceptionOnDuplicateEntryGroup() -
shouldThrowExceptionOnCircularDependency
public void shouldThrowExceptionOnCircularDependency() -
shouldReturnMaxGroupNumber
public void shouldReturnMaxGroupNumber() -
findMaxShouldAcceptNullRootList
public void findMaxShouldAcceptNullRootList() -
findMaxShouldAcceptEmptyRootList
public void findMaxShouldAcceptEmptyRootList() -
getGroupOfTypeShouldThrowExceptionIfNoGroupsInOrder
public void getGroupOfTypeShouldThrowExceptionIfNoGroupsInOrder() -
getGroupOfTypeShouldReturnNullIfNoGroupsInList
public void getGroupOfTypeShouldReturnNullIfNoGroupsInList() -
getGroupOfTypeShouldThrowExceptionIfNoSuchGroupOrder
public void getGroupOfTypeShouldThrowExceptionIfNoSuchGroupOrder() -
getGroupOfTypeShouldReturnNullIfNoSuchTypeInOrder
public void getGroupOfTypeShouldReturnNullIfNoSuchTypeInOrder() -
getGroupOfTypeShouldReturnCorrectEntryGroup
public void getGroupOfTypeShouldReturnCorrectEntryGroup() -
getGroupOfTypeShouldThrowExceptionIfMoreThanOneGroupOfType
public void getGroupOfTypeShouldThrowExceptionIfMoreThanOneGroupOfType() -
entryGroup
-