### Question:
RateLimiterCounterCassandraProviderImpl implements
		RateLimiterCounterProvider { public Set<String> getActiveRLKeys() { return activeRLDao.getKeys(); } RateLimiterCounterCassandraProviderImpl(); Set<String> getActiveRLKeys(); void addActiveRL(final String key,
			final RateLimiterPolicyModel RateLimiterPolicyModel); boolean cointainKeyInActiveRL(final String key); void addActiveEffect(final String key,
			final RateLimiterPolicyModel RateLimiterPolicyModel); void removeActiveEffect(final String key); void incrementRLCounter(final String key); void setRLCounter(final String key, int i); void setRLTimestamp(final String key, final Date date); void setRLActive(final String key, boolean b); void setRLEffectDuration(final String key, final Long duration); void setRLRolloverPeriod(final String key, final Long rollover); void setRLEffect(final String key, final RateLimiterStatus effect); RateLimiterPolicyModel getActiveRL(final String key); void resetEffects();  }### Answer:
@Test public void testGetActiveRLKeys() { Set<String> activeRLKeys = providerImpl.getActiveRLKeys(); assertNotNull(activeRLKeys); assertTrue(activeRLKeys.isEmpty()); providerImpl.addActiveRL(rl_key, rateLimiterPolicyModel_1); RateLimiterPolicyModel rateLimiterPolicyModel_2 = new RateLimiterPolicyModel(); rateLimiterPolicyModel_2.setActive(false); rateLimiterPolicyModel_2.setCount(rateLimiterPolicyModel_1.getCount()); rateLimiterPolicyModel_2.setEffect(rateLimiterPolicyModel_1.getEffect()); rateLimiterPolicyModel_2.setEffectDuration(rateLimiterPolicyModel_1.getEffectDuration()); rateLimiterPolicyModel_2.setIp(rateLimiterPolicyModel_1.getIp()); rateLimiterPolicyModel_2.setRolloverPeriod(rateLimiterPolicyModel_1.getRolloverPeriod()); rateLimiterPolicyModel_2.setTimestamp(rateLimiterPolicyModel_1.getTimestamp()); providerImpl.addActiveRL(rl_key, rateLimiterPolicyModel_1); providerImpl.addActiveRL(rl_key+"01", rateLimiterPolicyModel_2); Set<String> activeRLKeys2 = providerImpl.getActiveRLKeys(); assertEquals("activeRL should have 2 elements", 2, activeRLKeys2.size()); assertTrue(rl_key + " should be in activeRLCF ", activeRLKeys2.contains(rl_key)); assertTrue(rl_key+"01" + " should be in activeRLCF ", activeRLKeys2.contains(rl_key+"01")); }