IntegerHolder extends AbstractValueHolder { @Override public Long getLong() { return value; } IntegerHolder(Long value); @Override Long getValue(); @Override int intValue(); @Override long longValue(); @Override BigDecimal getBigDecimal(); @Override Integer getInteger(); @Override Long getLong();  }
@Test public void testGetLong() { assertEquals(long1, h1.getLong()); assertEquals(long2, h2.getLong()); assertEquals(null, h3.getLong()); }