@Test
public void testGetSetVarCharLength() throws MolgenisModelException
{
{
Field field = new Field(mock(Entity.class), "field", new CharField());
field.setVarCharLength(10);
assertEquals(field.getVarCharLength(), 10);
}
{
Field field = new Field(mock(Entity.class), "field", new StringField());