Package de.hybris.platform.product
Class DefaultVariantsServiceTest
java.lang.Object
de.hybris.platform.product.DefaultVariantsServiceTest
test-class for DefaultVariantsService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTest method forDefaultVariantsService.getAllVariantTypes().voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultVariantsServiceTest
public DefaultVariantsServiceTest()
-
-
Method Details
-
setUp
public void setUp() -
testGetAllVariantTypes
public void testGetAllVariantTypes()Test method forDefaultVariantsService.getAllVariantTypes(). -
testGetAssignedVariantAttributes
public void testGetAssignedVariantAttributes() -
testGetAssignedVariantAttributesBaseProductNull
public void testGetAssignedVariantAttributesBaseProductNull() -
testGetVariantProductForAttributeValuesFilterWithOneAttribute
public void testGetVariantProductForAttributeValuesFilterWithOneAttribute() -
testGetVariantProductForAttributeValuesFilterWithAllAttributes
public void testGetVariantProductForAttributeValuesFilterWithAllAttributes() -
testGetVariantProductForAttributeValuesNoFilter
public void testGetVariantProductForAttributeValuesNoFilter() -
testGetVariantProductForAttributeValuesBaseProductNull
public void testGetVariantProductForAttributeValuesBaseProductNull() -
testGetVariantAttributesForVariantType
public void testGetVariantAttributesForVariantType() -
testGetVariantAttributesForNullCode
public void testGetVariantAttributesForNullCode() -
testGetVariantAttributesForTypeServiceThrowingAnException
public void testGetVariantAttributesForTypeServiceThrowingAnException() -
testGetVariantAttributesForTypeServiceReturningComposedType
public void testGetVariantAttributesForTypeServiceReturningComposedType() -
testGetVariantAttributesWithNullVariantAttributes
public void testGetVariantAttributesWithNullVariantAttributes() -
testGetVariantAttributesWithEmptyVariantAttributes
public void testGetVariantAttributesWithEmptyVariantAttributes() -
testGetVariantAttributesWithNonUniqueVariantAttributes
public void testGetVariantAttributesWithNonUniqueVariantAttributes() -
testGetVariantAttributesWithUniqueVariantAttributes
public void testGetVariantAttributesWithUniqueVariantAttributes() -
testGetVariantTypeModeWithOneResult
public void testGetVariantTypeModeWithOneResult() -
testGetVariantTypeModeWithNoneResult
public void testGetVariantTypeModeWithNoneResult() -
testGetVariantTypeModeWithNoCompatibleREsult
public void testGetVariantTypeModeWithNoCompatibleREsult()
-