Class DefaultTestRegionResolverTest


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

      • DefaultTestRegionResolverTest

        public DefaultTestRegionResolverTest()
    • Method Detail

      • testSingleRegionForAllTypeCodes

        public void testSingleRegionForAllTypeCodes()
        When there's a single region with type=CacheController.ALL_TYPES_REGION_TYPE, it should be selected for any key even when no region name is provided.
      • testSingleRegionForSpecificTypeCodes

        public void testSingleRegionForSpecificTypeCodes()
        When there is more than one region, but a type is mapped only to one region, the region should be selected for a key of the type even when no region name is provided.
      • testRegionsMixed

        public void testRegionsMixed()
        One region can handle both specific types and "all other types" via use of CacheController.ALL_TYPES_REGION_TYPE type. This test method verifies if the dispatching works in that case.
      • testMultipleAllTypesRegions

        public void testMultipleAllTypesRegions()