assertThat(row.getColumns().get(1).getValue().toString(), is(expectedSecondColumnValue));
}
@Test
public void shouldGetOneSuperColumnFamilyData() {
DataSet dataSet = new ClassPathXmlDataSet("xml/dataSetDefinedValues.xml");
assertThat(dataSet.getColumnFamilies().get(0).getRows(), notNullValue());
assertThat(dataSet.getColumnFamilies().get(0).getRows().size(), is(2));
RowModel actualrow0 = dataSet.getColumnFamilies().get(0).getRows().get(0);
assertThat(actualrow0, notNullValue());
assertThat(actualrow0.getKey().toString(), is("13816710-1dd2-11b2-879a-782bcb80ff6a"));
assertThat(actualrow0.getColumns(), notNullValue());
assertThat(actualrow0.getColumns().isEmpty(), is(true));
assertThat(actualrow0.getSuperColumns(), notNullValue());
assertThat(actualrow0.getSuperColumns().size(), is(2));
SuperColumnModel actualSuperColumn = actualrow0.getSuperColumns().get(0);
assertThat(actualSuperColumn, notNullValue());
assertThat(actualSuperColumn.getName().toString(), is("name11"));
assertThat(actualSuperColumn.getColumns(), notNullValue());
assertThat(actualSuperColumn.getColumns().size(), is(2));
ColumnModel actualColumn0OfRow0 = actualSuperColumn.getColumns().get(0);
assertThat(actualColumn0OfRow0, notNullValue());
assertThat(actualColumn0OfRow0.getName().toString(), is("111"));
assertThat(actualColumn0OfRow0.getValue().toString(), is("value111"));
ColumnModel actualColumn1OfRow0 = actualSuperColumn.getColumns().get(1);
assertThat(actualColumn1OfRow0, notNullValue());
assertThat(actualColumn1OfRow0.getName().toString(), is("112"));
assertThat(actualColumn1OfRow0.getValue().toString(), is("value112"));
SuperColumnModel actualSuperColumn1OfRow0 = actualrow0.getSuperColumns().get(1);
assertThat(actualSuperColumn1OfRow0.getName().toString(), is("name12"));
assertThat(actualSuperColumn1OfRow0.getColumns(), notNullValue());
assertThat(actualSuperColumn1OfRow0.getColumns().size(), is(2));
ColumnModel actualColumn0OfSuperColumn1OofRow0 = actualSuperColumn1OfRow0.getColumns().get(0);
assertThat(actualColumn0OfSuperColumn1OofRow0, notNullValue());
assertThat(actualColumn0OfSuperColumn1OofRow0.getName().toString(), is("121"));
assertThat(actualColumn0OfSuperColumn1OofRow0.getValue().toString(), is("value121"));
ColumnModel actualColumn1OfSuperColumn1ofRow0 = actualSuperColumn1OfRow0.getColumns().get(1);
assertThat(actualColumn1OfSuperColumn1ofRow0, notNullValue());
assertThat(actualColumn1OfSuperColumn1ofRow0.getName().toString(), is("122"));
assertThat(actualColumn1OfSuperColumn1ofRow0.getValue().toString(), is("value122"));
RowModel row1 = dataSet.getColumnFamilies().get(0).getRows().get(1);
assertThat(row1, notNullValue());
assertThat(row1.getKey().toString(), is("13818e20-1dd2-11b2-879a-782bcb80ff6a"));
assertThat(row1.getColumns(), notNullValue());
assertThat(row1.getColumns().isEmpty(), is(true));
assertThat(row1.getSuperColumns(), notNullValue());