예제 #1
0
  public void testSetAndGet() {
    IntegerField i = new IntegerField();

    i.set(123);

    assertTrue(123 == i.get());
  }
예제 #2
0
  public void testDefauls() {
    IntegerField i = new IntegerField();

    assertEquals("foo integer", i.getDefinition("foo"));
    assertTrue(0 == i.get());
  }