### Question:
CassandraSessionProvider implements Provider<Session>, LifecycleListener { @Override public Session get() { return cassandraSessionSupplier.get(); } @Inject @VisibleForTesting  CassandraSessionProvider(CassandraSessionSupplier cassandraSessionSupplier); @Override Session get(); @Override void shutdown();  }### Answer:
@Test public void testGetSession() { Session session = cassandraSessionProvider.get(); assertThat(session).isNotNull(); Select query = QueryBuilder.select("keyspace_name").from("system", "schema_keyspaces"); ResultSet resultSet = session.execute(query); assertThat(resultSet.isExhausted()).isFalse(); assertThat(resultSet.one().getString("keyspace_name")).isEqualTo(OpushCassandraCQLUnit.KEYSPACE); }