IntegerValue implements Value<Integer> { @Override public Double getDouble() { if (value == null) { return null; } double v = value; return v; } IntegerValue(Integer value); @Override Double getDouble(); @Override Integer getValue(); @Override void setValue(Integer value); @Override int compareTo(Value<Integer> arg); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void getIntegerTest() { Integer d = 1; IntegerValue v = new IntegerValue(d); Assert.assertEquals(1, v.getDouble(), 001); }