### Question:
PrimitiveIntWrapper extends IntegerWrapper { @Override public void set(Number v) { set(v == null ? defaultValue : v.intValue()); } PrimitiveIntWrapper();  PrimitiveIntWrapper(int value); @Override void set(Number v); @Override Integer getDefault(); @Override boolean isPrimitiveWrapper(); @Override R accept(WrapperVisitor<R, P, Q, TH> visitor, P p, Q q);  }### Answer:
@Test void set() { PrimitiveIntWrapper wrapper = new PrimitiveIntWrapper(); wrapper.set(10); assertEquals(10, wrapper.get()); wrapper.set(new BigDecimal(20)); assertEquals(20, wrapper.get()); }
@Test void set_null() { PrimitiveIntWrapper wrapper = new PrimitiveIntWrapper(); wrapper.set(null); assertEquals(0, wrapper.get()); wrapper.set((Number) null); assertEquals(0, wrapper.get()); }