IntegerValue implements Value<Integer> { @Override public Integer getValue() { return value; } 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 getValueTest() { Integer d = 1; IntegerValue v = new IntegerValue(d); Assert.assertEquals(d, v.getValue()); }