@Test(dataProvider = "fieldsData")
public void shouldReturnTheFields(Object obj, long count, Object[] fields) {

  // given
  RankableObjectWithFields r = new RankableObjectWithFields(obj, count, fields);
  // when
  List<Object> actualFields = r.getFields();
  // then
  assertThat(actualFields).isEqualTo(Lists.newArrayList(fields));
}