@Test
public void getFieldClass() throws Exception {

    final ClassFields classFields = new ClassFieldsDefault(TestClass.class);
    final Iterator<Field> fields = classFields.getFields();
    final Field firstField = fields.next();      // get first element
    Assert.assertEquals("Check basic field class", Long.class, ExcelFieldService.getFieldClass(firstField));
    final Field secondField = fields.next();      // get second element
    Assert.assertEquals("Check field class for a List", String.class, ExcelFieldService.getFieldClass(secondField));
}