@Test
public void getFieldType() 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 type", FieldType.basic, ExcelFieldService.getFieldType(firstField));
    final Field secondField = fields.next();      // get second element
    Assert.assertEquals("Check type class for a List", FieldType.basic, ExcelFieldService.getFieldType(secondField));
    final Field thirdField = fields.next();      // get third element
    Assert.assertEquals("Check basic field type for Object", FieldType.basic, ExcelFieldService.getFieldType(thirdField));
    final Field fourthField = fields.next();      // get fourth element
    Assert.assertEquals("Check objectSeparateSheet field type Object", FieldType.objectSeparateSheet, ExcelFieldService.getFieldType(fourthField));
}