Class FeatureListTest
- java.lang.Object
-
- de.hybris.platform.classification.features.FeatureListTest
-
@UnitTest public class FeatureListTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FeatureListTest()
-
Method Summary
-
-
-
Method Detail
-
shouldInstantiateFeatureListWithListOfFeatures
public void shouldInstantiateFeatureListWithListOfFeatures()
Test method forFeatureList(java.util.List).
-
shouldThrowIllegalArgumentExceptionWhenInstantiatingFeatureListWithNullList
public void shouldThrowIllegalArgumentExceptionWhenInstantiatingFeatureListWithNullList()
Test method forFeatureList(java.util.List).
-
shouldInstantiateFeatureListWithVarargs
public void shouldInstantiateFeatureListWithVarargs()
Test method forFeatureList(de.hybris.platform.classification.features.Feature[]).
-
shouldReturnListOfFeatures
public void shouldReturnListOfFeatures()
Test method forFeatureList.getFeatures().
-
shouldCheckWhetherListIsEmptyAndReturnTrueIfListIsEmpty
public void shouldCheckWhetherListIsEmptyAndReturnTrueIfListIsEmpty()
Test method forFeatureList.isEmpty().
-
shouldCheckWhetherListIsEmptyAndReturnFalseIfListIsNotEmpty
public void shouldCheckWhetherListIsEmptyAndReturnFalseIfListIsNotEmpty()
Test method forFeatureList.isEmpty().
-
shouldReturnExistingFeatureByName
public void shouldReturnExistingFeatureByName()
Test method forFeatureList.getFeatureByName(java.lang.String).
-
shouldReturnExistingFeatureByAssignment
public void shouldReturnExistingFeatureByAssignment()
-
shouldReturnExistingFeatureByCode
public void shouldReturnExistingFeatureByCode()
Test method forFeatureList.getFeatureByCode(java.lang.String).
-
shouldBehavesLikeNormalListWithIterator
public void shouldBehavesLikeNormalListWithIterator()
Test method forFeatureList.iterator().
-
shouldReturnListOfClassificationClassesForTypedFeatures
public void shouldReturnListOfClassificationClassesForTypedFeatures()
Test method forFeatureList.getClassificationClasses().
-
shouldReturnEmptyListOfClassificationClassesWhenThereIsEmptyListOfFeatures
public void shouldReturnEmptyListOfClassificationClassesWhenThereIsEmptyListOfFeatures()
Test method forFeatureList.getClassificationClasses().
-
shouldReturnEmptyListOfClassificationClassesWhenListOfFeaturesContainsOnlyUntypedFeatures
public void shouldReturnEmptyListOfClassificationClassesWhenListOfFeaturesContainsOnlyUntypedFeatures()
Test method forFeatureList.getClassificationClasses().
-
shouldReturnClassAttributeAssignmentsForTypedFeatures
public void shouldReturnClassAttributeAssignmentsForTypedFeatures()
Test method forFeatureList.getClassAttributeAssignments().
-
shouldCheckWhetherListContainsUntypedFeaturesAndReturnTrueIfListContainUntypedFeatures
public void shouldCheckWhetherListContainsUntypedFeaturesAndReturnTrueIfListContainUntypedFeatures()
Test method forFeatureList.hasUntypedFeatures().
-
shouldCheckWhetherListContainsUntypedFeaturesAndReturnFalseIfListDoesNotContainUntypedFeatures
public void shouldCheckWhetherListContainsUntypedFeaturesAndReturnFalseIfListDoesNotContainUntypedFeatures()
Test method forFeatureList.hasUntypedFeatures().
-
-