@Test
public void adapt_oneRow() throws IOException {

  Result expectedResult =
      Result.create(
          ImmutableList.<Cell>of(
              new RowCell(
                  Bytes.toBytes("row"),
                  Bytes.toBytes("family"),
                  Bytes.toBytes("q"),
                  10000L,
                  Bytes.toBytes("value"),
                  ImmutableList.<String>of())));
  when(mockBigtableResultScanner.next()).thenReturn(expectedResult);
  ResultScanner scanner = adapter.adapt(mockBigtableResultScanner, mockSpan);
  assertArrayEquals(expectedResult.rawCells(), scanner.next().rawCells());
  verify(mockBigtableResultScanner).next();
  verify(mockSpan, times(0)).end();
}