@Test
public void isFieldEquals() {

    Field field0 = new Field("name", 0, "111");
    Field field1 = new Field("name", 1, "111");
    Field field2 = new Field("name", 0, "222");
    Field field3 = new Field("age", 0, "222");
    Field field4 = new Field("name", 0, null);
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(field0, null).getResult());
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(null, field0).getResult());
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(field0, field1).getResult());
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(field0, field2).getResult());
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(field0, field3).getResult());
    Assertions.assertFalse(DataCompareUtils.isFieldEquals(field0, field4).getResult());
    Field field10 = new Field("Name", 0, "111");
    Field field11 = new Field("Name", 0, null);
    Assertions.assertTrue(DataCompareUtils.isFieldEquals(field0, field10).getResult());
    Assertions.assertTrue(DataCompareUtils.isFieldEquals(field4, field11).getResult());
    Field field12 = new Field("information", JDBCType.BLOB.getVendorTypeNumber(), new String("hello world").getBytes());
    Field field13 = new Field("information", JDBCType.BLOB.getVendorTypeNumber(), new String("hello world").getBytes());
    Assertions.assertTrue(DataCompareUtils.isFieldEquals(field12, field13).getResult());
}