@UnitTest public class DefaultPointOfServiceServiceTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
GERMANREGION1COUNT |
static int |
GERMANREGION2COUNT |
static java.lang.String |
GERMANY |
static int |
GERMANY_STORE_COUNT |
static java.lang.String |
JAPAN |
static int |
JAPAN_STORE_COUNT |
static java.lang.String |
REGION |
static java.lang.String |
SYRIA |
static int |
SYRIA_STORE_COUNT |
| Constructor and Description |
|---|
DefaultPointOfServiceServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCountryCounts(java.util.List<StoreCountInfo> pointOfServiceCounts) |
void |
getPointOfServiceCountsCountryWithRegions() |
void |
getPointOfServiceCountsOnlyCountry() |
protected StoreCountInfo |
getRegionStoreCountInfo(StoreCountInfo storeCountInfo,
java.lang.String regionName)
given a
StoreCountInfo and a region name
will return the nested StoreCountInfo corresponding to the given region name
will return null if couldn't find any |
protected StoreCountInfo |
getStoreCountInfo(java.util.List<StoreCountInfo> list,
java.lang.String country)
given a
StoreCountInfo and a region name
will return the nested StoreCountInfo corresponding to the given region name
will return null if couldn't find any |
void |
populateRegionStoreCountInfo() |
void |
setUp() |
public static final int SYRIA_STORE_COUNT
public static final int GERMANY_STORE_COUNT
public static final int GERMANREGION1COUNT
public static final int GERMANREGION2COUNT
public static final int JAPAN_STORE_COUNT
public static final java.lang.String GERMANY
public static final java.lang.String JAPAN
public static final java.lang.String SYRIA
public static final java.lang.String REGION
public void setUp()
public void getPointOfServiceCountsOnlyCountry()
public void getPointOfServiceCountsCountryWithRegions()
public void populateRegionStoreCountInfo()
protected StoreCountInfo getRegionStoreCountInfo(StoreCountInfo storeCountInfo, java.lang.String regionName)
StoreCountInfo and a region name
will return the nested StoreCountInfo corresponding to the given region name
will return null if couldn't find anyprotected StoreCountInfo getStoreCountInfo(java.util.List<StoreCountInfo> list, java.lang.String country)
StoreCountInfo and a region name
will return the nested StoreCountInfo corresponding to the given region name
will return null if couldn't find anyprotected void checkCountryCounts(java.util.List<StoreCountInfo> pointOfServiceCounts)
Copyright © 2018 SAP SE. All Rights Reserved.