@Test
public void testExtract() {

    Result result = mock(Result.class);
    byte[] value = new byte[] { 1, 2, 3 };
    when(result.getValue(COLUMN_FAMILY, COLUMN_QUALIFIER)).thenReturn(value);
    assertEquals(ImmutableList.of(value), extractor.extract(result));
}