public class B2BDaoTestUtils
extends java.lang.Object
| Constructor and Description |
|---|
B2BDaoTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertResultsSize(int expectedSize,
SearchPageData<?> pageData) |
B2BBudgetModel |
createBudget(java.lang.String code,
java.lang.String name,
B2BUnitModel unit,
java.math.BigDecimal budgetValue,
B2BPeriodRange range) |
B2BCostCenterModel |
createCostCenter(boolean active,
java.lang.String code,
java.lang.String name,
B2BUnitModel unit) |
B2BCustomerModel |
createCustomer(java.lang.String email,
java.lang.String name,
B2BUnitModel unit,
UserGroupModel group) |
B2BUnitModel |
createUnit(java.lang.String name,
java.lang.String uid) |
B2BUserGroupModel |
createUserGroup(java.lang.String name,
B2BUnitModel unit) |
protected B2BDateUtils |
getB2bDateUtils() |
protected CommonI18NService |
getCommonI18NService() |
protected ModelService |
getModelService() |
void |
setB2bDateUtils(B2BDateUtils b2bDateUtils) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setModelService(ModelService modelService) |
public void assertResultsSize(int expectedSize,
SearchPageData<?> pageData)
public B2BUnitModel createUnit(java.lang.String name, java.lang.String uid)
public B2BBudgetModel createBudget(java.lang.String code, java.lang.String name, B2BUnitModel unit, java.math.BigDecimal budgetValue, B2BPeriodRange range)
public B2BCostCenterModel createCostCenter(boolean active, java.lang.String code, java.lang.String name, B2BUnitModel unit)
public B2BUserGroupModel createUserGroup(java.lang.String name, B2BUnitModel unit)
public B2BCustomerModel createCustomer(java.lang.String email, java.lang.String name, B2BUnitModel unit, UserGroupModel group)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
protected B2BDateUtils getB2bDateUtils()
public void setB2bDateUtils(B2BDateUtils b2bDateUtils)
Copyright © 2018 SAP SE. All Rights Reserved.