Class DefaultItemModelSearchStrategyTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.model.impl.DefaultItemModelSearchStrategyTest
-
@UnitTest public class DefaultItemModelSearchStrategyTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultItemModelSearchStrategyTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowIllegalArgumentExceptionWhenConverterIsNull
public void shouldThrowIllegalArgumentExceptionWhenConverterIsNull()
-
shouldThrowIllegalArgumentExceptionWhenExampleIsNull
public void shouldThrowIllegalArgumentExceptionWhenExampleIsNull()
-
shouldThrowModelLoadingExceptionWhenModelIsNotNew
public void shouldThrowModelLoadingExceptionWhenModelIsNotNew()
-
shouldThrowModelLoadingExceptionWhenModelIsNewButDoesNotContainsChangedAttributes
public void shouldThrowModelLoadingExceptionWhenModelIsNewButDoesNotContainsChangedAttributes()
-
shouldThrowModelLoadingExceptionWhenModifiedAttributeIsNotSearchable
public void shouldThrowModelLoadingExceptionWhenModifiedAttributeIsNotSearchable()
-
shouldThrowModelLoadingExceptionWhenModifiedAttributeReturnTypeIsMapType
public void shouldThrowModelLoadingExceptionWhenModifiedAttributeReturnTypeIsMapType()
-
shouldThrowModelLoadingExceptionWhenModifiedAttributeReturnTypeIsCollectionType
public void shouldThrowModelLoadingExceptionWhenModifiedAttributeReturnTypeIsCollectionType()
-
shouldThrowModelLoadingExceptionWhenModifiedAttributeIsLocalizedAndReturnTypeIsMapType
public void shouldThrowModelLoadingExceptionWhenModifiedAttributeIsLocalizedAndReturnTypeIsMapType()
-
shouldThrowModelLoadingExceptionWhenModifiedAttributeIsLocalizedAndReturnTypeIsCollectionType
public void shouldThrowModelLoadingExceptionWhenModifiedAttributeIsLocalizedAndReturnTypeIsCollectionType()
-
shouldThrowModelNotFoundExceptionWhenResultIsEmpty
public void shouldThrowModelNotFoundExceptionWhenResultIsEmpty()
-
shouldThrowAmbiguousIdentifierExceptionWhenResultIsGreaterThanOne
public void shouldThrowAmbiguousIdentifierExceptionWhenResultIsGreaterThanOne()
-
shouldThrowModelNotFoundExceptionWhenResultContainsOnlyNullValue
public void shouldThrowModelNotFoundExceptionWhenResultContainsOnlyNullValue()
-
shouldReturnFoundModelByExample
public void shouldReturnFoundModelByExample()
-
shouldReturnListOfFoundModelsByExample
public void shouldReturnListOfFoundModelsByExample()
-
shouldReturnFoundModelByExampleForLocalizedDescriptor
public void shouldReturnFoundModelByExampleForLocalizedDescriptor()
-
-