Class DefaultPointOfServiceServiceTest
- java.lang.Object
-
- de.hybris.platform.storelocator.pos.impl.DefaultPointOfServiceServiceTest
-
@UnitTest public class DefaultPointOfServiceServiceTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intGERMANREGION1COUNTstatic intGERMANREGION2COUNTstatic java.lang.StringGERMANYstatic intGERMANY_STORE_COUNTstatic java.lang.StringJAPANstatic intJAPAN_STORE_COUNTstatic java.lang.StringREGIONstatic java.lang.StringSYRIAstatic intSYRIA_STORE_COUNT
-
Constructor Summary
Constructors Constructor Description DefaultPointOfServiceServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckCountryCounts(java.util.List<StoreCountInfo> pointOfServiceCounts)voidgetPointOfServiceCountsCountryWithRegions()voidgetPointOfServiceCountsOnlyCountry()protected StoreCountInfogetRegionStoreCountInfo(StoreCountInfo storeCountInfo, java.lang.String regionName)given aStoreCountInfoand a region name will return the nestedStoreCountInfocorresponding to the given region name will return null if couldn't find anyprotected StoreCountInfogetStoreCountInfo(java.util.List<StoreCountInfo> list, java.lang.String country)given aStoreCountInfoand a region name will return the nestedStoreCountInfocorresponding to the given region name will return null if couldn't find anyvoidpopulateRegionStoreCountInfo()voidsetUp()
-
-
-
Field Detail
-
SYRIA_STORE_COUNT
public static final int SYRIA_STORE_COUNT
- See Also:
- Constant Field Values
-
GERMANY_STORE_COUNT
public static final int GERMANY_STORE_COUNT
- See Also:
- Constant Field Values
-
GERMANREGION1COUNT
public static final int GERMANREGION1COUNT
- See Also:
- Constant Field Values
-
GERMANREGION2COUNT
public static final int GERMANREGION2COUNT
- See Also:
- Constant Field Values
-
JAPAN_STORE_COUNT
public static final int JAPAN_STORE_COUNT
- See Also:
- Constant Field Values
-
GERMANY
public static final java.lang.String GERMANY
- See Also:
- Constant Field Values
-
JAPAN
public static final java.lang.String JAPAN
- See Also:
- Constant Field Values
-
SYRIA
public static final java.lang.String SYRIA
- See Also:
- Constant Field Values
-
REGION
public static final java.lang.String REGION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp()
-
getPointOfServiceCountsOnlyCountry
public void getPointOfServiceCountsOnlyCountry()
-
getPointOfServiceCountsCountryWithRegions
public void getPointOfServiceCountsCountryWithRegions()
-
populateRegionStoreCountInfo
public void populateRegionStoreCountInfo()
-
getRegionStoreCountInfo
protected StoreCountInfo getRegionStoreCountInfo(StoreCountInfo storeCountInfo, java.lang.String regionName)
given aStoreCountInfoand a region name will return the nestedStoreCountInfocorresponding to the given region name will return null if couldn't find any
-
getStoreCountInfo
protected StoreCountInfo getStoreCountInfo(java.util.List<StoreCountInfo> list, java.lang.String country)
given aStoreCountInfoand a region name will return the nestedStoreCountInfocorresponding to the given region name will return null if couldn't find any
-
checkCountryCounts
protected void checkCountryCounts(java.util.List<StoreCountInfo> pointOfServiceCounts)
-
-