title: An example in Java using Embedded Cassandra Server to test a Cassandra-Spark job
body: <p>I am new to Cassandra and Spark. I am trying to set up a test for my Spark job, which does the following:</p>
  
  <ol>
  <li>Loads data from table A into DataFrames</li>
  <li>Does some filtering, grouping and aggregating on these DataFrames</li>
  <li>Loads the result into table B</li>
  </ol>
  
  <p>I want to use Embedded Cassandra Server to run the test rather than having it connecting to a local instance of the Cassandra database. Has anyone done this before? If so, could someone point me to a good example please? Thanks for your help in advance!</p>