// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/CQLDataSet.java
// public interface CQLDataSet {
// 
//     List<String> getCQLStatements();
// 
//     String getKeyspaceName();
// 
//     boolean isKeyspaceCreation();
// 
//     boolean isKeyspaceDeletion();
// }
// 
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/ParseException.java
// public class ParseException extends RuntimeException {
// 
//     public ParseException(Throwable e) {
//         super(e);
//     }
// 
//     public ParseException(String message) {
//         super(message);
//     }
// }


import org.cassandraunit.dataset.CQLDataSet;
import org.cassandraunit.dataset.ParseException;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
package org.cassandraunit.dataset.cql;



/**
 * @author Jeremy Sevellec
 */
public class ClasspathCQLDataSetTest {

    @Test
    public void shouldGetACQLDataSet() {

        CQLDataSet dataSet = new ClassPathCQLDataSet("cql/simple.cql");
        assertThat(dataSet, notNullValue());
    }

    @Test
    public void shouldNotGetACQLDataSetBecauseNull() {
        try {
            CQLDataSet dataSet = new ClassPathCQLDataSet(null);
            fail();
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/CQLDataSet.java
// public interface CQLDataSet {
// 
//     List<String> getCQLStatements();
// 
//     String getKeyspaceName();
// 
//     boolean isKeyspaceCreation();
// 
//     boolean isKeyspaceDeletion();
// }
// 
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/ParseException.java
// public class ParseException extends RuntimeException {
// 
//     public ParseException(Throwable e) {
//         super(e);
//     }
// 
//     public ParseException(String message) {
//         super(message);
//     }
// }


// Path: cassandra-unit/src/test/java/org/cassandraunit/dataset/cql/ClasspathCQLDataSetTest.java
import org.cassandraunit.dataset.CQLDataSet;
import org.cassandraunit.dataset.ParseException;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;

package org.cassandraunit.dataset.cql;



/**
 * @author Jeremy Sevellec
 */
public class ClasspathCQLDataSetTest {

    @Test
    public void shouldGetACQLDataSet() {

        CQLDataSet dataSet = new ClassPathCQLDataSet("cql/simple.cql");
        assertThat(dataSet, notNullValue());
    }

    @Test
    public void shouldNotGetACQLDataSetBecauseNull() {
        try {
            CQLDataSet dataSet = new ClassPathCQLDataSet(null);
            fail();
        } catch (ParseException e) {