Action { protected String getKeyOnMemoryMatchingDynamicKeyGroup(String providerKey, String dynamicKey, String dynamicKeyGroup) { return composeKey(providerKey, dynamicKey, dynamicKeyGroup); } Action(Memory memory, Persistence persistence);   }
@Test public void Check_Keys_Matching_Dynamic_Key_Group() { String keyMatchingDynamicKey1DynamicKeyGroup1 = actionUT.getKeyOnMemoryMatchingDynamicKeyGroup(PROVIDER_KEY, DYNAMIC_KEY_1, DYNAMIC_KEY_GROUP_1); assertThat(keyMatchingDynamicKey1DynamicKeyGroup1, is(filter1Page1)); String keyMatchingDynamicKey1DynamicKeyGroup2 = actionUT.getKeyOnMemoryMatchingDynamicKeyGroup(PROVIDER_KEY, DYNAMIC_KEY_1, DYNAMIC_KEY_GROUP_2); assertThat(keyMatchingDynamicKey1DynamicKeyGroup2, is(filter1Page2)); String keyMatchingDynamicKey2DynamicKeyGroup1 = actionUT.getKeyOnMemoryMatchingDynamicKeyGroup(PROVIDER_KEY, DYNAMIC_KEY_2, DYNAMIC_KEY_GROUP_1); assertThat(keyMatchingDynamicKey2DynamicKeyGroup1, is(filter2Page1)); String keyMatchingDynamicKey2DynamicKeyGroup2 = actionUT.getKeyOnMemoryMatchingDynamicKeyGroup(PROVIDER_KEY, DYNAMIC_KEY_2, DYNAMIC_KEY_GROUP_2); assertThat(keyMatchingDynamicKey2DynamicKeyGroup2, is(filter2Page2)); }