Assert.assertEquals("Field 3 should be float", DoubleValue.class, record.getField(3, DoubleValue.class).getClass());
Assert.assertEquals("Field 4 should be int", IntValue.class, record.getField(4, IntValue.class).getClass());
int[] pos = {0, 1, 2, 3, 4};
Value[] values = {new IntValue(), new StringValue(), new StringValue(), new DoubleValue(), new IntValue()};
Assert.assertTrue(record.equalsFields(pos, dbData[recordCount], values));
recordCount++;
}
Assert.assertEquals(5, recordCount);