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

    final FilePointerRecord record = new FilePointerRecord(_reader, _prefix.length());
    final MetadataElement elem = new MetadataElement("elem");
    record.assignMetadataTo(elem, "suffix");
    assertEquals(0, elem.getNumAttributes());
    assertEquals(1, elem.getNumElements());
    final MetadataElement recordRoot = elem.getElement("FilePointerRecord suffix");
    assertNotNull(recordRoot);
    assertMetadata(recordRoot);
    assertEquals(0, recordRoot.getNumElements());
    assertEquals(21, recordRoot.getNumAttributes());
}