### Question:
RateLimiterCounterCassandraProviderImpl implements
		RateLimiterCounterProvider { public void incrementRLCounter(final String key) { RateLimiterPolicyModel activeRL = activeRLDao.find(key); if (activeRL != null) { activeRL.setCount(activeRL.getCount() + 1); activeRLDao.save(key, activeRL); } } 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 testIncrementRLCounter() { providerImpl.addActiveRL(rl_key, createModel()); providerImpl.addActiveRL(rl_key + "01", createModel()); assertTrue("No element found in activeRL map", providerImpl.cointainKeyInActiveRL(rl_key)); providerImpl.incrementRLCounter(rl_key); assertEquals("rl_key counter should be 2", 2, providerImpl.getActiveRL(rl_key).getCount()); providerImpl.incrementRLCounter(rl_key); assertEquals("rl_key counter should be 3", 3, providerImpl.getActiveRL(rl_key).getCount()); assertEquals("rl_key counter should be 1", 1, providerImpl.getActiveRL(rl_key + "01").getCount()); }