@Test
public void testReset() {

  RowAdapter.RowBuilder<Result> rowBuilder = underTest.createRowBuilder();
  rowBuilder.startRow(ROW_KEY);
  rowBuilder.startCell(
      COL_FAMILY, QUAL_ONE, 10000L, Collections.<String>emptyList(), VALUE.size());
  rowBuilder.cellValue(VALUE);
  rowBuilder.finishCell();
  rowBuilder.reset();
  ByteString anotherKey = ByteString.copyFromUtf8("another-rowKey");
  rowBuilder.startRow(anotherKey);
  rowBuilder.startCell(COL_FAMILY, QUAL_TWO, 40000L, LABELS, VALUE.size());
  rowBuilder.cellValue(VALUE);
  rowBuilder.finishCell();
  Result actual = rowBuilder.finishRow();
  assertResult(
      Result.create(
          ImmutableList.<Cell>of(
              new RowCell(
                  anotherKey.toByteArray(),
                  COL_FAMILY.getBytes(),
                  QUAL_TWO.toByteArray(),
                  40L,
                  VALUE.toByteArray()))),
      actual);
}