@Test
public void testContainsRequiredData_True() {

    DefaultResultToSolrMapper resultToSolrMapper = new DefaultResultToSolrMapper("index-name",
            Lists.newArrayList(new FieldDefinition("fieldname", "cfA:qualifierA", ValueSource.VALUE, "int")),
                    Collections.<DocumentExtractDefinition>emptyList());
    Result result = Result.create(Lists.<Cell>newArrayList(new KeyValue(ROW, COLUMN_FAMILY_A, QUALIFIER_A, Bytes.toBytes("value"))));
    
    assertTrue(resultToSolrMapper.containsRequiredData(result));
}