@Test
public void testOneCell() {

  FlatRow simpleRow =
      FlatRow.newBuilder()
          .withRowKey(toByteString("key"))
          .addCell("family", toByteString("column"), 500, toByteString("value"), null)
          .build();
  FlatRow.Cell simpleCell = simpleRow.getCells().get(0);
  Row expectedRow =
      Row.newBuilder()
          .setKey(simpleRow.getRowKey())
          .addFamilies(
              Family.newBuilder()
                  .setName(simpleCell.getFamily())
                  .addColumns(
                      Column.newBuilder()
                          .setQualifier(simpleCell.getQualifier())
                          .addCells(asProtoCell(simpleCell))
                          .build())
                  .build())
          .build();
  Assert.assertEquals(expectedRow, FlatRowConverter.convert(simpleRow));
}