def METHOD_NAME():
    mm = metadata_from_doc(METADATA_DOC)
    assert mm.definition is METADATA_DOC
    rdr = mm.dataset_reader(SAMPLE_DOC)
    assert rdr.x_double == SAMPLE_DOC['x_double_path']
    assert rdr.x_integer == SAMPLE_DOC['x_integer_path']
    assert rdr.x_string == SAMPLE_DOC['x_string_path']
    assert rdr.x_numeric == decimal.Decimal(SAMPLE_DOC['x_numeric_path'])