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

    final VolumeDescriptorRecord record = new VolumeDescriptorRecord(_reader, _prefix.length());
    final MetadataElement volumeMetadata = new MetadataElement("VOLUME_DESCRIPTOR");
    record.assignMetadataTo(volumeMetadata, "suffix");
    assertEquals(23, volumeMetadata.getNumAttributes());
    assertEquals(0, volumeMetadata.getNumElements());
    assertMetadata(volumeMetadata);
}