### Question:
RateLimiterCounterCassandraProviderImpl implements
		RateLimiterCounterProvider { private static void getCassandraConfig() { ClassLoader classLoader = ContextUtils.getClassLoader(); InputStream inStream = classLoader .getResourceAsStream(cassandraPropFilePath); if (inStream != null) { Properties properties = new Properties(); try { properties.load(inStream); clusterName = properties.getProperty(c_clusterName); host = (String) properties.get(c_hostIp) + ":" + (String) properties.get(c_rpcPort); keyspace = (String) properties.get(c_keyspace); activeRLCF = (String) properties.get(c_activeRL_cf); activeEffectCF = (String) properties.get(c_activeEffect_cf); embedded = (String) properties.get(c_embedded); } catch (IOException e) { } finally { try { inStream.close(); } catch (IOException e) { } } } } 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 testGetCassandraConfig() { Method getCassandraConfigMethod; try { getCassandraConfigMethod = RateLimiterCounterCassandraProviderImpl.class.getDeclaredMethod("getCassandraConfig", null); getCassandraConfigMethod.setAccessible(true); getCassandraConfigMethod.invoke(providerImpl, null); String hostValue = getFieldValue(providerImpl, "host"); assertEquals("Host:port value does not map", "127.0.1.10:9160", hostValue); String clusterNameValue = getFieldValue(providerImpl, "clusterName"); assertEquals("clusterName value does not map", "TestCluster", clusterNameValue); String keyspaceValue = getFieldValue(providerImpl, "keyspace"); assertEquals("keyspace value does not map", "rl", keyspaceValue); String activeRLCFValue = getFieldValue(providerImpl, "activeRLCF"); assertEquals(" activeRLCF value does not map", "activeRL", activeRLCFValue); String activeEffectCFValue = getFieldValue(providerImpl, "activeEffectCF"); assertEquals(" activeEffectCF value does not map", "activeEffect", activeEffectCFValue); String embeddedValue = getFieldValue(providerImpl, "embedded"); assertEquals("embedded value does not map", "true", embeddedValue); } catch (Exception e) { fail("cannot invoke getCassandraConfig method "); } }