예제 #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();
 }