### Question:
ScassandraServerRule implements TestRule { public ActivityClient activityClient() { return scassandra.activityClient(); } ScassandraServerRule();  ScassandraServerRule(int binaryPort, int adminPort); @Override Statement apply(final Statement base, Description description); PrimingClient primingClient(); ActivityClient activityClient();  }### Answer:
@Test public void ruleStartsScassandaBeforeAnyTestRuns() { rule.activityClient().clearPreparedStatementExecutions(); }
@Test public void clearsConnectionsBetweenTests() { assertEquals("Connections haven't been cleared between tests", 0, rule.activityClient().retrieveConnections().size()); }