@Test public void testIntegerFieldWithinAcceptedRangeIsNotRejected() { final Region region = new Region .Builder() .addIntegerField(28536) .build(); assertEquals(28536, region.getFieldAt(0)); }
public Object getFieldAt(int i) { if (regionFields.size() > i) { return regionFields.get(i); } else { return null; } }
Region { public Object getFieldAt(int i) { if (regionFields.size() > i) { return regionFields.get(i); } else { return null; } } }
Region { public Object getFieldAt(int i) { if (regionFields.size() > i) { return regionFields.get(i); } else { return null; } } private  Region(@NonNull List<Object> regionFields); }
Region { public Object getFieldAt(int i) { if (regionFields.size() > i) { return regionFields.get(i); } else { return null; } } private  Region(@NonNull List<Object> regionFields); Object getFieldAt(int i); }
Region { public Object getFieldAt(int i) { if (regionFields.size() > i) { return regionFields.get(i); } else { return null; } } private  Region(@NonNull List<Object> regionFields); Object getFieldAt(int i);  }