### Question:
RateLimiterCounterCassandraProviderImpl implements
		RateLimiterCounterProvider { public void addActiveRL(final String key, final RateLimiterPolicyModel RateLimiterPolicyModel) { activeRLDao.save(key, (RateLimiterPolicyModel) RateLimiterPolicyModel); } 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 testAddActiveRL() { providerImpl.addActiveRL(rl_key, rateLimiterPolicyModel_1); RateLimiterPolicyModel activeRL = providerImpl.getActiveRL(rl_key) ; assertNotNull("rateLimiterPolicyModel_1 element must exist for key"+ rl_key, activeRL ); assertEquals(rateLimiterPolicyModel_1.getCount(), activeRL.getCount()); assertEquals(rateLimiterPolicyModel_1.getEffect(), activeRL.getEffect()); assertEquals(rateLimiterPolicyModel_1.getEffectDuration(), activeRL.getEffectDuration()); assertEquals(rateLimiterPolicyModel_1.getIp(), activeRL.getIp()); assertEquals(rateLimiterPolicyModel_1.getRolloverPeriod(), activeRL.getRolloverPeriod()); assertEquals(new Date(createdTime).getTime(), activeRL.getTimestamp().getTime()); }