public abstract class CatalogUnawarePDTRowTest<T extends PDTRowModel> extends ServicelayerBaseTest
| Modifier and Type | Field and Description |
|---|---|
protected ModelService |
modelService |
protected CatalogVersionModel |
otherCatalogVersion |
protected ProductModel |
otherProduct |
protected CatalogVersionModel |
testCatalogVersion |
protected CurrencyModel |
testCurrency |
protected ProductModel |
testProduct |
protected UnitModel |
testUnit |
jaloSession| Constructor and Description |
|---|
CatalogUnawarePDTRowTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected ModelService modelService
protected CatalogVersionModel testCatalogVersion
protected CatalogVersionModel otherCatalogVersion
protected ProductModel testProduct
protected ProductModel otherProduct
protected UnitModel testUnit
protected CurrencyModel testCurrency
public void setUp()
public void shouldGetRowForAnyProduct()
public void shouldGetRowByProductCode()
public void shouldGetRowByProduct()
public void shouldNotFindRowForDifferentProductCode()
public void shouldNotFindRowForDifferentProduct()
public void shouldFindOnlyRowsForProductCode()
public void shouldFindOnlyRowsForProduct()
public void shouldFindMultipleRows()
public void shouldNotRemoveRowForAnyProduct()
public void shouldNotRemoveRowForProductCode()
public void shouldRemoveRowForProduct()
public void shouldRemoveOnlyRowForProduct()
public void shouldSynchronizeRowForProduct()
public void shouldNotSynchronizeAnyProductRow()
public void shouldNotSynchronizeRowForProductCode()
protected abstract T givenRowForProduct(ProductModel product)
protected abstract T givenRowForProductId(java.lang.String productId)
protected abstract T givenRowForAnyProduct()
protected abstract java.util.List<T> getSynchronizedRows()
protected abstract java.util.Collection<T> getRowsFrom(ProductModel product)
protected void performTestCatalogSynchronization()
Copyright © 2018 SAP SE. All Rights Reserved.