Пример #1
0
 @Before
 public void setUp() throws Exception {
   super.before();
   CassandraSession session =
       new CassandraSession(KEYSPACE_NAME, CASSANDRA_HOST, CASSANDRA_PORT, CASSANDRA_COMPRESSION);
   m_repository =
       new CassandraSampleRepository(
           session, CASSANDRA_TTL, new MetricRegistry(), mock(SampleProcessorService.class));
 }
Пример #2
0
 @After
 public void tearDown() throws Exception {
   super.after();
 }