Class DefaultCloudCPQOrderEntryProductInfoDaoTest
java.lang.Object
de.hybris.platform.cpq.productconfig.services.impl.DefaultCloudCPQOrderEntryProductInfoDaoTest
Unit test for
DefaultCloudCPQOrderEntryProductInfoDaos-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.paginated.PaginatedFlexibleSearchParameter>matchPageableQueryWithParams(String queryString, Map<String, String> params, int pageSize, int currentPage) protected org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery>matchQueryWithParams(String queryString, Map<String, String> params) protected voidmockGivenQuery(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher, Object model) protected voidmockGivenQueryEmpty(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher) protected voidmockNonUniqueResult(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher, int numResults) protected voidmockPageableResult(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.paginated.PaginatedFlexibleSearchParameter> queryMatcher, int size) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCloudCPQOrderEntryProductInfoDaoTest
public DefaultCloudCPQOrderEntryProductInfoDaoTest()
-
-
Method Details
-
setUp
public void setUp() -
testGetAllConfigurationProductInfosById
public void testGetAllConfigurationProductInfosById() -
testGetAllConfigurationProductInfosByIdEmpty
public void testGetAllConfigurationProductInfosByIdEmpty() -
testGetAllConfigurationProductInfosByIdNullParam
public void testGetAllConfigurationProductInfosByIdNullParam() -
testIsOnlyRelatedToGivenEntryNullParam
public void testIsOnlyRelatedToGivenEntryNullParam() -
testIsOnlyRelatedToGivenEntryNullParam2
public void testIsOnlyRelatedToGivenEntryNullParam2() -
testIsOnlyRelatedToGivenEntryTrue
public void testIsOnlyRelatedToGivenEntryTrue() -
testIsOnlyRelatedToGivenEntryFalseToMany
public void testIsOnlyRelatedToGivenEntryFalseToMany() -
testIsOnlyRelatedToGivenEntryFalsePKsDoNotMatch
public void testIsOnlyRelatedToGivenEntryFalsePKsDoNotMatch() -
testGetAllConfigurationProductInfos
public void testGetAllConfigurationProductInfos() -
testCreatePageableQuery
public void testCreatePageableQuery() -
matchQueryWithParams
-
mockGivenQuery
protected void mockGivenQuery(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher, Object model) -
mockGivenQueryEmpty
protected void mockGivenQueryEmpty(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher) -
mockNonUniqueResult
protected void mockNonUniqueResult(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.FlexibleSearchQuery> queryMatcher, int numResults) -
mockPageableResult
protected void mockPageableResult(org.mockito.ArgumentMatcher<de.hybris.platform.servicelayer.search.paginated.PaginatedFlexibleSearchParameter> queryMatcher, int size) -
matchPageableQueryWithParams
-