@Test
public void testAssignMetadataTo() throws IOException,
        IllegalCeosFormatException {

    final BaseRecord record = new BaseRecord(_reader, _prefix.length());
    final MetadataElement elem = new MetadataElement("elem");
    record.assignMetadataTo(elem, null);
    assertMetadata(elem);
    assertEquals(0, elem.getNumElements());
    assertEquals(6, elem.getNumAttributes());
}