*/
public class ClasspathYamlDataSetTest {
@Test
public void shouldGetAYamlDataSetStructure() {
DataSet dataSet = new ClassPathYamlDataSet("yaml/dataSetDefaultValues.yaml");
assertThat(dataSet, notNullValue());
assertThat(dataSet.getKeyspace(), notNullValue());
assertThat(dataSet.getKeyspace().getName(), is("beautifulKeyspaceName"));
assertThat(dataSet.getKeyspace().getReplicationFactor(), is(1));
assertThat(dataSet.getKeyspace().getStrategy(), is(StrategyModel.SIMPLE_STRATEGY));
assertThat(dataSet.getColumnFamilies(), notNullValue());
assertThat(dataSet.getColumnFamilies().size(), is(1));
assertThat(dataSet.getColumnFamilies().get(0), notNullValue());
assertThat(dataSet.getColumnFamilies().get(0).getName(), is("columnFamily1"));
assertThat(dataSet.getColumnFamilies().get(0).getType(), is(ColumnType.STANDARD));
assertThat(dataSet.getColumnFamilies().get(0).getKeyType().getTypeName(),
is(ComparatorType.BYTESTYPE.getTypeName()));
assertThat(dataSet.getColumnFamilies().get(0).getComparatorType().getTypeName(),
is(ComparatorType.BYTESTYPE.getTypeName()));
assertThat(dataSet.getColumnFamilies().get(0).getSubComparatorType(), nullValue());
}