@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", FieldTypeImport.basic, ExcelFieldImportService.getFieldType(firstField));
    final Field thirdField = fields.next();      // get second element
    Assert.assertEquals("Check basic field type for Object", FieldTypeImport.object, ExcelFieldImportService.getFieldType(thirdField));
    final Field fourthField = fields.next();      // get third element
    Assert.assertEquals("Check importByProp field type Object", FieldTypeImport.objectImportByProp, ExcelFieldImportService.getFieldType(fourthField));
}