Class DefaultPointOfServiceServiceTest


  • @UnitTest
    public class DefaultPointOfServiceServiceTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultPointOfServiceServiceTest

        public DefaultPointOfServiceServiceTest()
    • 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 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
      • getStoreCountInfo

        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
      • checkCountryCounts

        protected void checkCountryCounts​(java.util.List<StoreCountInfo> pointOfServiceCounts)