@Test
public void testGetNumericValue() throws Exception {

    fieldBoolean.set(dcv,
                     true);
    fieldDate.set(dcv,
                  now);
    dcv.setNumericValue(1L);
    fieldString.set(dcv,
                    "woot");
    assertEquals(DataType.DataTypes.NUMERIC_LONG,
                 dcv.getDataType());
    assertNull(dcv.getBooleanValue());
    assertNull(dcv.getDateValue());
    assertEquals(1L,
                 dcv.getNumericValue());
    assertNull(dcv.getStringValue());
}