Class DefaultAbstractQueryHelperTest
java.lang.Object
de.hybris.platform.servicelayer.search.paginated.DefaultAbstractQueryHelperTest
Unit test for
DefaultAbstractQueryHelper-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends AbstractQuery>
voidassertClonedResults(T original, T updated) Assert the given two AbstractQuery sub-class parameters have the same attribute values.protected <T extends AbstractQuery>
voidsetAllAttributes(T original) Sets all attributes of given search query object, so that these values can be compared with the ones returned from abstractQueryHelper classvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultAbstractQueryHelperTest
public DefaultAbstractQueryHelperTest()
-
-
Method Details
-
shouldUpdateFlexibleSearchQuery
public void shouldUpdateFlexibleSearchQuery() -
shouldUpdateGenericSearchQuery
public void shouldUpdateGenericSearchQuery() -
shouldThrowIllegalArgumentExceptionNullStringQuery
public void shouldThrowIllegalArgumentExceptionNullStringQuery() -
shouldThrowIllegalArgumentExceptionNullFlexibleSearchQuery
public void shouldThrowIllegalArgumentExceptionNullFlexibleSearchQuery() -
shouldThrowIllegalArgumentExceptionNullGenericQuery
public void shouldThrowIllegalArgumentExceptionNullGenericQuery() -
shouldThrowIllegalArgumentExceptionNullGenericSearchQuery
public void shouldThrowIllegalArgumentExceptionNullGenericSearchQuery() -
setAllAttributes
Sets all attributes of given search query object, so that these values can be compared with the ones returned from abstractQueryHelper class -
assertClonedResults
Assert the given two AbstractQuery sub-class parameters have the same attribute values.- Parameters:
original- the originalupdated- the updated
-