source: class TestRowResultAdapter {
  
    private static final ByteString ROW_KEY;
    private static final String COL_FAMILY;
    private static final ByteString QUAL_ONE;
    private static final ByteString QUAL_TWO;
    private static final List<String> LABELS;
    private static final ByteString VALUE;
    private RowResultAdapter underTest;
  
    @Test
    public void testReset() {
  
target:     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);
    }
  
  }