public void testSetAndGet() { IntegerField i = new IntegerField(); i.set(123); assertTrue(123 == i.get()); }
public void testDefauls() { IntegerField i = new IntegerField(); assertEquals("foo integer", i.getDefinition("foo")); assertTrue(0 == i.get()); }