### Question:
Container { @Deprecated public void addValue(Integer val) { value1 += val; } Container(String id); @Deprecated void addValue(Integer val); String getId();  }### Answer:
@Test public void testAdditionOfValue() { Container c = new Container("c1"); c.addValue(4); assert (c.value1 == 4); c.addValue(-4); assert (c.value1 == 0); }