Class DefaultBundleCommerceCartFacadeTest
- java.lang.Object
-
- de.hybris.platform.configurablebundlefacades.order.impl.DefaultBundleCommerceCartFacadeTest
-
@UnitTest public class DefaultBundleCommerceCartFacadeTest extends java.lang.Object
JUnit test suite forDefaultBundleCommerceCartFacade
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description DefaultBundleCommerceCartFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallowedProductsShouldAcceptNullQuery()voidallowedProductsShouldCheckGroupType()voidallowedProductsShouldCheckRefId()voiddeleteShouldCheckEntryGroupNumber()voidpathURLsShouldSurviveNullBreadcrumbs()voidpathURLsShouldSurviveNullFacetList()voidsetUp()voidshouldAssignBundleTemplateForNewBundle()voidshouldCheckBundleIntegrity()voidshouldCreateFilterQueryForBundleWhenInitQueryEmpty()voidshouldCreateFilterQueryForBundleWhenInitQueryNotEmpty()voidshouldDeleteBundleByEntryGroup()voidshouldFailIfEntryGroupIsNotBundle()voidshouldPathURLs()voidtestAddToCart()voidtestProcessFacetData()voidtestStartBundle()
-
-
-
Method Detail
-
setUp
public void setUp()
-
shouldFailIfEntryGroupIsNotBundle
public void shouldFailIfEntryGroupIsNotBundle()
-
shouldCreateFilterQueryForBundleWhenInitQueryEmpty
public void shouldCreateFilterQueryForBundleWhenInitQueryEmpty()
-
shouldCreateFilterQueryForBundleWhenInitQueryNotEmpty
public void shouldCreateFilterQueryForBundleWhenInitQueryNotEmpty()
-
testStartBundle
public void testStartBundle() throws CommerceCartModificationException
-
testAddToCart
public void testAddToCart() throws CommerceCartModificationException
-
shouldAssignBundleTemplateForNewBundle
public void shouldAssignBundleTemplateForNewBundle() throws CommerceCartModificationException
-
shouldCheckBundleIntegrity
public void shouldCheckBundleIntegrity() throws CommerceCartModificationException
-
deleteShouldCheckEntryGroupNumber
public void deleteShouldCheckEntryGroupNumber() throws CommerceCartModificationException
-
shouldDeleteBundleByEntryGroup
public void shouldDeleteBundleByEntryGroup() throws CommerceCartModificationException
-
testProcessFacetData
public void testProcessFacetData() throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
shouldPathURLs
public void shouldPathURLs()
-
pathURLsShouldSurviveNullFacetList
public void pathURLsShouldSurviveNullFacetList()
-
pathURLsShouldSurviveNullBreadcrumbs
public void pathURLsShouldSurviveNullBreadcrumbs()
-
allowedProductsShouldAcceptNullQuery
public void allowedProductsShouldAcceptNullQuery()
-
allowedProductsShouldCheckRefId
public void allowedProductsShouldCheckRefId()
-
allowedProductsShouldCheckGroupType
public void allowedProductsShouldCheckGroupType()
-
-