@Test
public void testModelRowWithOneCell() {

  FlatRow.Cell cell =
      new FlatRow.Cell("family", toByteString("column"), 500, toByteString("value"), null);
  FlatRow flatRow = FlatRow.newBuilder().withRowKey(toByteString("key")).addCell(cell).build();
  com.google.cloud.bigtable.data.v2.models.Row expectedRow =
      com.google.cloud.bigtable.data.v2.models.Row.create(
          flatRow.getRowKey(),
          Arrays.asList(
              RowCell.create(
                  cell.getFamily(),
                  cell.getQualifier(),
                  cell.getTimestamp(),
                  cell.getLabels(),
                  cell.getValue())));
  Assert.assertEquals(expectedRow, FlatRowConverter.convertToModelRow(flatRow));
}